DNS Problem
- From: Joseph Hesse <joe_hesse@xxxxxxxxx>
- Date: Mon, 25 Feb 2008 14:32:17 -0000
Hi,
I am using Fedora 8.
Its my impression that the DNS servers listed in /etc/resolv.conf are the
ones always used for name lookup.
The resolv.conf file generated when I installed F8 is:
-------------------------------------
; generated by /sbin/dhclient-script
search domain.actdsltmp
nameserver 192.168.0.1
nameserver 208.42.42.42
-------------------------------------
I am not sure why 192.168.0.1 is there since it is my gateway address. I
manually edited resolv.conf to reflect the DNS servers given to me by my
ISP. The edited one is:
-------------------------------------
; generated by /sbin/dhclient-script
search domain.actdsltmp
nameserver 209.98.98.98
nameserver 208.42.42.42
-------------------------------------
When I restart my computer, the resolv.conf file goes back to the "just
installed" version. My ActionTec DSL modem was manually configured to
know about the two DNS servers given by my ISP but this has no affect.
Occasionally I get problems which appear to be DNS related but I am not
sure. In any case, I think I should have both DNS servers available.
My question is how do I get resolv.conf to reflect both my DNS servers?
Here is some more information.
1. I have my network (/etc/sysconfig/network-scripts/ifcfg-eth0)
configured to use DHCP rather than a static IP.
2 I turned off NetworkManager and NetworkManagerDispatcher and turned on
network, i.e.
[joe@sam02 ~]$ /sbin/chkconfig --list | grep Network
NetworkManager 0:off 1:off 2:on 3:off 4:off 5:off 6:off
NetworkManagerDispatcher 0:off 1:off 2:off 3:off 4:off
5:off 6:off
[joe@sam02 ~]$ /sbin/chkconfig --list | grep network
network 0:off 1:off 2:off 3:on 4:on 5:on 6:off
I am not sure what NetworkManager and NetworkManagerDispatcher do, the
"man" pages were not helpful.
3. As soon as I installed F8 I pointed my /etc/yum.repos.d files to
point to my local yum server. I did this since I have several F8
machines and it is easier to use a local yum server. This is probably
not relevant.
4. I have another F8 computer which uses a static IP and I don't have
this problem with resolv.conf.
I thank you for reading this and any help you can give me.
Joe Hesse
.
- Follow-Ups:
- Re: DNS Problem
- From: Moe Trin
- Re: DNS Problem
- From: Scott Hemphill
- Re: DNS Problem
- From: Robert Harris
- Re: DNS Problem
- Prev by Date: Re: What's wrong with this DNS entry?
- Next by Date: Re: file sharing between ubuntu and leopard
- Previous by thread: Diskless workstation preform slackware installation on exported nfs directory.
- Next by thread: Re: DNS Problem
- Index(es):
Relevant Pages
|