rpichler
asked on
Name resoultion problem
Hi,
Operating system: SuSE Linux 8.1
I own an 1&1 NetXXL ISDN box (only ID is different from AVM Fritz!X USB). Configured the box with no problem using yast. Dial-in is also ok with no problem. Also i can ping every machine using the IP address.
But the problem still is: it does NOT do any name resolution? I entered the DNS name servers as my provider gave me (tested with Windows, they are ok) using YAST. I also find the servers entries in /etc/resolv.conf.
ut still i have no working name resolution.
Please help!
regards,
R.Pichler
Operating system: SuSE Linux 8.1
I own an 1&1 NetXXL ISDN box (only ID is different from AVM Fritz!X USB). Configured the box with no problem using yast. Dial-in is also ok with no problem. Also i can ping every machine using the IP address.
But the problem still is: it does NOT do any name resolution? I entered the DNS name servers as my provider gave me (tested with Windows, they are ok) using YAST. I also find the servers entries in /etc/resolv.conf.
ut still i have no working name resolution.
Please help!
regards,
R.Pichler
check /etc/nsswitch.conf
the hosts line should mention DNS. You might want to put DNS first if it isnt already
eg
hosts: dns files nisplus
Ceri
the hosts line should mention DNS. You might want to put DNS first if it isnt already
eg
hosts: dns files nisplus
Ceri
are you able to ping your ISP's DNS servers? (Im wondering if by pinging machines you meant your local computers..)
your /etc/nsswitch.conf files looks fine. If you go to
http://216.239.51.100/ <-- google.com
it works fine?
your /etc/nsswitch.conf files looks fine. If you go to
http://216.239.51.100/ <-- google.com
it works fine?
do you run your own named on this system?
your own named shouldnt matter as you see your ISP's DNS server in /etc/resolv.conf (although if you wanted to run your own you would have to add it in here or you would ignore it and ask your ISP for DNS anyway)
ASKER
Hi,
thanks for all your help.
After looking at some more log files, i found the problem:
1. uninstalled package bind8 (dont have my own name server).
2. i must do a 'route del default ippp0' before connecting to my provider. Then everything is okay.
However SuSE seems to write an entry into the route.conf file (IP 0.0.0.0). That cannot work...
But i still do not know why it writes this in and how i can make him NOT to write this in?
Regards,
Ralf
thanks for all your help.
After looking at some more log files, i found the problem:
1. uninstalled package bind8 (dont have my own name server).
2. i must do a 'route del default ippp0' before connecting to my provider. Then everything is okay.
However SuSE seems to write an entry into the route.conf file (IP 0.0.0.0). That cannot work...
But i still do not know why it writes this in and how i can make him NOT to write this in?
Regards,
Ralf
I am not sure how to prevent it from happening, but you can set your machine to add it for you
/etc/ppp/ip-up.local
the file may not exist, but if you copy it from /etc/ppp/ip-up every time you connect to your ISP it will execute that script -> add the route del default line in there and you should be good
/etc/ppp/ip-up.local
the file may not exist, but if you copy it from /etc/ppp/ip-up every time you connect to your ISP it will execute that script -> add the route del default line in there and you should be good
ASKER
Thanks all for your help.
Yesterday i found the resolvement for this problem:
i commented out the route which entry i see after any connection.
It seems to come from /etc/sysconfig/network/rou tes (formerly known as rc.config).
Seems to be a default which yast enters...
Now done and it works great!
Again, thanks!
rpichler
Yesterday i found the resolvement for this problem:
i commented out the route which entry i see after any connection.
It seems to come from /etc/sysconfig/network/rou
Seems to be a default which yast enters...
Now done and it works great!
Again, thanks!
rpichler
post a 0 ptr in community support and ask for a refund
rpichler:
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The entry for hosts should reference DNS if it doesnt this could be causing your problem.
Ceri