[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: nameserver issues involving *.debian.org



> On Mon, 31 Jan 2011 09:50:17 -0500 <tomh0665@gmail.com> wrote:
>
> > On Mon, Jan 31, 2011 at 3:11 AM, Bob Proulx <bob@proulx.com> wrote:
> >
> >  $ sudo apt-get install bind9
> >
> > Then ensure that 'nameserver 127.0.0.1' exists in /etc/resolv.conf and
> > you should be set.  By "ensure" I mean that you should use either
> > 'resolvconf' to maintain that file or perhaps use a 'dns-nameservers'
> > statement in /etc/network/interfaces or edit the resolv.conf file
> > manually or whatever is appropriate for your system.
>
> FYI, "dns-nameservers" is a resolvconf "customization" of e-n-i so
> "either...or"'s not quite right.
>

Thanks Tom,

I did some further digging on this info to discover:

If the original static resolver configuration file (/etc/resolv.conf)      
contains name server addresses, those addresses should be listed on        
"dns-nameservers" lines in /etc/network/interfaces. For more               
information, please consult the resolvconf(8) man page and the README      
file.                                                                      
                                                                           
Until /etc/network/interfaces has been edited and the affected             
interfaces brought down and up again, the name server addresses will not   
be included in the dynamically generated resolver configuration file.      
                                                                           
If you choose this option, a temporary workaround will be put in place:    
a symbolic link will be created (if it does not already exist) from        
/etc/resolvconf/resolv.conf.d/tail to                                      
/etc/resolvconf/resolv.conf.d/original. This will cause the whole of       
that original resolver configuration file to be appended to the            
dynamically generated file.                                                
                                                                           
After the required "dns-nameservers" lines have been added to              
/etc/network/interfaces, the /etc/resolvconf/resolv.conf.d/tail link       
should be replaced by one to /dev/null. 


-M

Reply to: