Re: FC7 dhcp resolv.conf



Tim:
What does yours do?

Timothy Murphy:
It deletes my opendns nameservers,
and substitutes 192.168.1.1,
which in my case is completely inappropriate.

A couple of simple options:

Set up your DHCP client configuration file to not get DNS server
addresses from the DHCP server. Look up "supersede" and
"domain-name-servers" in the dhclient.conf man file - there's an example
near the bottom of it that could serve as a template for your needs.

Configure your DHCP server to send your client the right DNS server
addresses for it. It can do this for all clients, or just for this
particular one.

The latter would be the better option, then you can move the client from
one DHCP-controlled network to another, and it'll "just work". And
since you are using DHCP, I think you're better to fix it there, rather
than try to manually preset things in your ethernet configuration, that
are probably going to get changed by their next DHCP-done configuration.

--
[tim@bigblack ~]$ uname -ipr
2.6.22.1-41.fc7 i686 i386

Using FC 4, 5, 6 & 7, plus CentOS 5. Today, it's FC7.

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.



--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Vista clients became unresponsive after network move
    ... Then was mentioned that DHCP wasn't used, ... clientsone by one, however I have never visited a client to change ... reverse zone. ... 11/5 - DNS server has started ...
    (microsoft.public.windows.server.networking)
  • Re: Setting dnsdomainname w/ DHCP client on Debian?
    ... bp> With DHCP this is set in the server, not the client. ... I could script it all but I guess I thought that's what the DHCP stuff ... important configuration options available in am-utils. ...
    (Debian-User)
  • Re: Does DNSMasq (or other DNS/DHCP Servers) Cache Old Addresses?
    ... Originally, when Debian set up the system, it used DHCP instead of a static ... I finally shut down the new system and rebooted the DNS server -- after ... problem with the client. ... interface was then brought up correctly, ...
    (Debian-User)
  • Re: Exchange Connectivity
    ... I agree with the use of DHCP but the client already had static IP addresses ... Windows IP Configuration ... Ethernet adapter Server Local Area Connection: ...
    (microsoft.public.windows.server.sbs)
  • Re: Allowing Incoming Connections?
    ... Not sure why you would be running the DNS server on a Mac OS X client ... problem that resulted in DHCP not working! ...
    (uk.comp.sys.mac)