1838230 Members
6114 Online
110125 Solutions
New Discussion

Re: DNS problem

 
SOLVED
Go to solution
mvr
Regular Advisor

DNS problem

This is continuing of my previous posting

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x97fd5dc05a7ad711abdc0090277a778c,00.html

Thank you for your tips.
However the problem that I have now is, when I do nslookup com1 I get the next error:

Default Server: ittest.com
Address: 10.10.10.99

** server can't find com1.ittest.com.: SERVFAIL"

This would happen for the all of the computers on the network (when it is looked up by the host name).
If I would look up for the computer by the IP address it will find with no problem.

In my previous posting (fallow the link above) I did attached some of my config files.
Any ideas?

Miro
11 REPLIES 11
Sachin Patel
Honored Contributor

Re: DNS problem

Miro,
Looks like your /etc/resolv.conf file is wrong.

> Default Server: ittest.com trying to go to server ittest.com?

Please post /etc/resolv.conf file. last few line of your syslog.log file.
Your reverse look up is working so named is running. something wrong with forward look up files.

Sachin
Is photography a hobby or another way to spend $
mvr
Regular Advisor

Re: DNS problem

Thank you for the respond!

Attached are all of mine config files for the ittest.com domain located on the com1 host.

Miro
Sachin Patel
Honored Contributor

Re: DNS problem

Miro,
You master zone is not loaded at all.

> master zone "ittest.com" (IN) rejected due to errors (serial

Also this one is not loaded

>master zone "0.0.127.in-addr.arpa" (IN) rejected due to errors


Only reverse zone is added.
>master zone "10.10.10.in-addr.arpa" (IN) loaded (serial 1997022700

Do following
Put this line in comment in /etc/named.conf file
include "/etc/rndc.key";


See this line in your forward and db.127.0.0 file
>42 ; serial (d. adams)

REmove (d.admas) or remove ( ).

Restart the named

Sachin
Is photography a hobby or another way to spend $
Sachin Patel
Honored Contributor

Re: DNS problem

Miro,

You provide the excellent help in solving this problem. the output that you post in second reply was very detail and good.

Otherwise we would have chat back and forth for a while.

Good luck in testing.

Thanks
Sachin
Is photography a hobby or another way to spend $
mvr
Regular Advisor

Re: DNS problem

Thank you for all of your help!

Unfortenitly it did not worked. I'm still getting the same responed.

Attached are couple of more config files, so if you have a time you can take a look at them.

It is really odd that even if I put in nsswitch.conf host instead dns, it doesn't resolve the name.

Miro
Sachin Patel
Honored Contributor

Re: DNS problem

Did your db.127.0.0 zone got loaded? You can verify that from your syslog.log file.

Is forward look up working for com1 or com2?

Sachin
Is photography a hobby or another way to spend $
mvr
Regular Advisor

Re: DNS problem

I made the changes as you recommended but, It looks like that the problem is still there (the last /var/log/masseges file is attached).

I'm thinking that it must be something with the upgrade that I did recently.
I upgraded Linux 7.x in to 8.x

Should I try to recreate the config files?

Do you think that reinstalling the BIND would help?

Thank you very much for your time and effort.
This is the reason why I like dealing with the HP!

Miro
Sachin Patel
Honored Contributor
Solution

Re: DNS problem

Hi Miro,

don't reinstall anything yet.

This is definatly a db file problem.

Why don't you try changing this

42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum

to a number like you have in your db.10.10.10 file.

make sure you have remove "(d. adams)" from both files (db.itest.com and db.127.0.0) You log file still points to the error in ().

Sachin
Is photography a hobby or another way to spend $
mvr
Regular Advisor

Re: DNS problem

YOU DID IT !!!

I changed the records in db.127.0.0 and db.ittest.com
It is working great !!!

Thank you very much !!!

On Monday I need to get my windows DNS to update my Linux
database ....
Guess what .... no clue how to do that !!!

We will have some more fun.

Do you have any good link where I could read about how to do this?

Miro

P.S. Please, send me a few of responds so I can give you more than just a 10 points
Sachin Patel
Honored Contributor

Re: DNS problem

Hi Miro,,
Don't worry about point I am point whore and so I will found it somewhere, heheheh.

I will be glad to help on that as well because I just finished that kind of testing.

Few link of dns.

Best to look for messages.

http://www.acmebw.com/askmrdns/bind-messages.htm

http://unbound.sourceforge.net/manual/Bv9ARM.html

Official site
http://www.isc.org/products/BIND/

Dynamic update on win-2000
http://www.microsoft.com/windows2000/en/server/help/default.asp?url=/WINDOWS2000/en/server/help/sag_DNS_und_DynamicUpdates.htm

Sachin
Is photography a hobby or another way to spend $
mvr
Regular Advisor

Re: DNS problem

Thank you for the links ....
I could definitely use your help on Monday !!!

Miro