You are not logged in.
I would like to switch to OPENDNS so i need to tell eth0 not do DNS.
[For gentooers its easy]
/etc/conf.d/
config_eth0="dhcp"
dhcp_eth0="nodns"
dns_servers_eth0="127.0.0.1 208.67.222.222 208.67.220.220"
How would i approach this the Arch Way in rc.conf (tried many different methods!!)?
/etc/conf.d/dhcpcd ? [[ DHCPCD_ARGS= ...... nodns??? ]]
Gentoo Reference : http://forums.gentoo.org/viewtopic-t-57 … ight-.html
Last edited by Hongkongblue (2007-08-16 06:36:03)
Intel-D915GAV : Software Raid0 x 4 SATA : 1GB Ram : 3Ghz HT-P4
Offline
Hi Hongkongblue,
put the dns servers in /etc/resolv.conf:
nameserver x.x.x.x
nameserver x.x.x.x
Offline
Hi Hongkongblue,
put the dns servers in /etc/resolv.conf:nameserver x.x.x.x nameserver x.x.x.x
Thanks, yes that would be fine if my router didn't keep renewing them on lease change.
Specifically, i need to stop dhcp renewing /etc/resolv.conf by telling it to stop doing dns.
Even if i stop using DHCP and assign a static address resolv.conf keeps being overwritten....
Last edited by Hongkongblue (2007-08-16 06:39:10)
Intel-D915GAV : Software Raid0 x 4 SATA : 1GB Ram : 3Ghz HT-P4
Offline
Add -R option in:
/etc/conf.d/dhcpcd
For more information man dhcpcd
Offline
Add -R option in:
/etc/conf.d/dhcpcd
For more information man dhcpcd
Man is always a good friend ( i missed that somehow)
Many thanks luca
Intel-D915GAV : Software Raid0 x 4 SATA : 1GB Ram : 3Ghz HT-P4
Offline