ubuntu 6.10: Problem with DNS configuration...

John Dangler jdangler at atlantic.net
Fri Feb 16 15:15:10 UTC 2007


On Fri, 2007-02-16 at 12:43 +0100, Patrick Gelin wrote:
> Yes, you arre true. I'm using the DHCP, so it's the reason... But I can't
> change that parameter, I have to use the DHCP configuration. But what I
> have to test is to not get DNS dynamically by the rooter. May be it's the
> reason the DHCP is slow...
worst case scenario - put what you want in a resolv.conf.save file in
the same directory (or whereever) and then write a quick bash script to
replace resolv.conf with that file on a daily basis.  Add the script to
cron.
> 
> Thank you for your help.
> 
> Joris Dobbelsteen wrote:
> 
> > Your DHCP server (which is probably part of your broadband router)
> > assigns not only an IP address, but also the entire network
> > configuration.
> > So it also assign the dns servers.
> > 
> > If you want a different configuration, you should probably change the
> > settings in your broadband router.
> > 
> > (Although I don't see any reason not to the router's integrated dns
> > server, it does exactly that forwarding)
> > 
> > - Joris
> > 
> >>-----Original Message-----
> >>From: ubuntu-users-bounces at lists.ubuntu.com
> >>[mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of
> >>Patrick Gelin
> >>Sent: vrijdag 16 februari 2007 11:29
> >>To: ubuntu-users at lists.ubuntu.com
> >>Subject: Re: ubuntu 6.10: Problem with DNS configuration...
> >>
> >>No, there is no search line, my resolv.conf is:
> >>domain orange.fr
> >>nameserver 192.168.0.1
> >>nameserver 80.10.246.3
> >>
> >>I don't know how to write a search line, is it like this?
> >>
> >>search orange.fr
> >>
> >>Cheers
> >>Patrick
> >>
> >>John Dangler wrote:
> >>
> >>> On Fri, 2007-02-16 at 16:27 +0700, Chanchao wrote:
> >>>> On Fri, 2007-02-16 at 10:12 +0100, Patrick Gelin wrote:
> >>>> 
> >>>> > And after a reboot, this is the resolv.conf file:
> >>>> > domain orange.fr
> >>>> > nameserver 192.168.0.1
> >>>> > nameserver 80.10.246.3
> >>>> 
> >>> Have you tried putting a "search" line in your resolv.conf?
> >>> here's my resolv.conf...
> >>> nameserver 209.208.124.98
> >>> nameserver 209.208.124.99
> >>> search mgjventures.com atlantic.net
> >>> nameserver 209.208.25.18
> >>> nameserver 209.208.42.132
> >>> 
> >>> It hasn't changed in over a year, with reboots,
> >>dist-upgrades through
> >>> 3 different Ubuntu's ...
> >>> 
> >>> hth
> >>> John Dangler
> >>> 
> >>>> I get the same thing when using wireless, and the Network Manager
> >>>> Applet.  Every time it connects to a wireless network it
> >>replaces the
> >>>> DNS with whatever the wireless router fed it.
> >>>> 
> >>>> I find it strange that DNS seems a global setting, when it should
> >>>> clearly be a setting PER network. (Not even per network interface,
> >>>> but actually per network of which there can be many, especially
> >>>> wireless
> >>>> ones.)
> >>>> 
> >>>> Like you step into a Starbucks shop and BAM!, your DNS settings are
> >>>> gone with the wind. :)
> >>>> 
> >>>> Cheers,
> >>>> Chanchao
> >>>> 
> >>>>
> >>
> >>
> >>
> >>--
> >>ubuntu-users mailing list
> >>ubuntu-users at lists.ubuntu.com
> >>Modify settings or unsubscribe at:
> >>https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >>
> 
> 
> 





More information about the ubuntu-users mailing list