Results 1 to 8 of 8
I got problem in my internet every time when system is boot or network is disconnected i have to enter the DNS address(number) primary and secondary...
- 09-29-2010 #1
Network Problem
I got problem in my internet every time when system is boot or network is disconnected i have to enter the DNS address(number) primary and secondary
- 09-29-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Where do you enter this information? In /etc/resolv.conf, or elsewhere?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 09-29-2010 #3
Menu>administration > Network configuration>Dns
- 09-29-2010 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Ok. I would suggest that you manually edit /etc/resolv.conf and add your DNS server addresses there. Here is an example (from my system):
The first line tells the DNS resolver to search on my domain first. The first two nameserver addresses are my ISP's DNS servers. The next two are Bell-Atlantic (top-level servers), and the last one is my local router. See the man page for resolv.conf for more details on what you can put in there.search apfrmsys.com
nameserver 68.94.156.1
nameserver 68.94.157.1
nameserver 199.45.32.37
nameserver 199.45.32.40
nameserver 192.168.1.254Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 09-29-2010 #5
which line have to add or edit the number i enter every time as dns is 202.56.215.54
202.56.230.55
[ved@localhost ~]$ cat /etc/resolv.conf
# Generated by NetworkManager
# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
nameserver 202.56.215.54
nameserver 202.56.230.55
- 09-29-2010 #6
I think the problem is that resolv.conf is overwritten on every DHCP request. Is your router set up to supply the correct DNS servers?
Otherwise you'd have to set DHCP_KEEPRESOLV[n] to yes. Somewhere. Or something similar. I'm not sure on flavours of Red Hat.Can't tell an OS by it's GUI
- 09-29-2010 #7Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Any line that starts with a hash (#) is a comment. Just delete all of them and only leave the nameserver lines. I generally don't use the Network Manager for DNS server management because it causes this sort of foulup too often. If this is for a desktop or server system, then don't use DHCP to get a network address, but rather you should use a static address instead. That will help eliminate this problem since using DHCP will rewrite /etc/resolv.conf every time you boot, which may be your real problem.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 09-29-2010 #8
thanks for more support i just configure static IP then the problem is resolve now resolv.conf
is same as you tell editing # from resolv.conf is now
Code:[ved@localhost ~]$ cat /etc/resolv.conf # Generated by NetworkManager nameserver 202.56.215.54 nameserver 202.56.230.55


Reply With Quote