Computing.Net > Forums > Linux > DNS setup problem, please help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

DNS setup problem, please help

Reply to Message Icon

Name: hoa
Date: April 3, 2003 at 14:13:06 Pacific
OS: Linux
CPU/Ram: 512
Comment:

Hi guys,

I am trying to setup a DNS service I used the bind tool to setup the forward and reverse zones. After starting the dns service and testing with the nslookup utility, sometimes it works fine for one day, next day it doesn't. I don't know why, could you help.

I hate this error message:
** server can't find learning.linux.com.: SERVFAIL

I always got that error message!

Here is the output from the nslookup:


[root@learning /root]# nslookup 192.168.1.30
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server: 192.168.1.30
Address: 192.168.1.30#53

30.1.168.192.in-addr.arpa name = learning.linux.com.

[root@learning /root]# nslookup linux.com.
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server: 192.168.1.30
Address: 192.168.1.30#53

** server can't find learning.linux.com.: SERVFAIL

[root@learning /root]# nslookup learning.linux.com
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server: 192.168.1.30
Address: 192.168.1.30#53

** server can't find learning.linux.com.: SERVFAIL

If you come accross this problem and know how to solve it please help. I have searched from the internet, forums, and books and could not solve it.

One question, do I need to put the domainname and alias in the file hosts under /etc/hosts ? I found that if I put the domain name and nickname in the hosts file and then test with the nslookup it shows dns name service works fine; however, other machine in the same network could not see it. I don't know why, if you knew it please help.

Do I need to put anything in file resolv.conf?

Many thanks.
Hoa



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


slackware sound problem. Red Hat 8.0 Install



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: DNS setup problem, please help

HDD Problems, please help!! www.computing.net/answers/linux/hdd-problems-please-help/6058.html

XMMS-Problem Please Help Me! www.computing.net/answers/linux/xmmsproblem-please-help-me/17256.html

Some problems, please answer www.computing.net/answers/linux/some-problems-please-answer/10111.html