FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 08-09-2010, 12:10 AM
 
Default Re (2): finding the ip address for dns, nslookup & etc.

Tom,

> # Change this line if you want dns to get its upstream servers from
> # somewhere other that /etc/resolv.conf
> #resolv-file=

But I don't want to change anything. I simply want
to know the nameserver addresses.

> ... dnsmasq is therefore using 127.0.0.1 as its upstream server, ...

>From the DESCRIPTION of dnsmasq.man,
"Dnsmasq accepts DNS queries and either answers them from a small,
local, cache or forwards them to a real, recursive, DNS server."

The machine itself has no _a priori_ knowledge of ip
addresses outside my network. It must refer to at
least one upstream DNS. The address of the ISP DNSs
are supplied through DHCP. I simply want to know
where these addresses are stored or, at least, how to
read them.

> Even that might not be enough. Take a look at /etc/default/dnsmasq.
> You have to set dnsmasq to ignore resolvconf in it.

Well I've made no such change and dnsmasq works nicely.
By default it must simply use the DNSs provided by
the ISP. In principle, dnsmasq could be keeping the
addresses in an environment variable, elsewhere in
memory, in a file in /tmp or in some other file.
I had hoped to find an option such as "dnsmasq show"
or the like but none is evident.

dnsmasq.man cites resolver(5) but that also is no
immediate help.

Thanks, ... Peter E.

--
Sparcstation 2, sun4c, netboots *.SUN4C; SCSI disks not yet detected.
Personal site works; http://members.shaw.ca/peasthope/ .


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 171056584.70296.39074.@heaviside.invalid">http://lists.debian.org/171056584.70296.39074.@heaviside.invalid
 

Thread Tools




All times are GMT. The time now is 09:03 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org