On Fri, Dec 18, 2009 at 2:35 PM, Mike Connors <[email protected]> wrote:
> Carlos Konstanski wrote:
>> The "right" way is to have your own subnet, complete with its own DNS
>> and DHCP services. resolv.conf is written by the DHCP client, using
>> DNS data that is supplied from the lease.
>>
>> Get onto your router and see if there is a way to tell it which search
>> domain and DNS server IP(s) to hand out when it creats DHCP leases.
>>
>>
> Yes, I've tried this but with the Linksys router I can only add 3 static
> DNS entries and I don't see a way to stop/change Comcast's search domain
> auto population.
>
> Maybe I could get more control of DNS info with OpenWRT?
>
> When I connect to other networks I'd still like to use my own list of
> DNS servers. So, I still want to automate the resolv.conf overwrite.

I have gotten around this by changing the DNS server on the router to use
openDNS.

When you are using some other DHCP you can append or prepend stuff to
this and still use their local (possibly caching) dns servers.

Depending on which distro you have, it will be something like
/etc/dhcpc.conf or /etc/dhclient.conf
or on my centos 5 box /etc/dhclient-eth0.conf using
append domain-name " domain1.com domain2.com ";

The spaces are important.
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to