1820072 Members
3174 Online
109608 Solutions
New Discussion юеВ

Using NT as a DNS

 
Joe Profaizer
Super Advisor

Using NT as a DNS

I've put our NT DNS address in resolv.conf as well as our domain. resove.conf has the following entries.
----------
domain rgare.com
search rgare.com
nameserver 10.10.1.6
nameserver 10.10.1.5
----------
Now when I do an nslookup, I get the following errors.
----------------
*** Can't find server name for address 10.10.1.6: Non-existent domain
*** Can't find server name for address 10.10.1.5: No response from server
*** Default servers are not available
Using /etc/hosts on: rga7

looking up FILES
*** No address information is available for "www.hp.com"
-------------------

Is there something else I need? I know for a fact our DNS is 10.10.1.6 and all NT servers and workstations use this just fine.

..Joe


11 REPLIES 11
Alan Riggs
Honored Contributor

Re: Using NT as a DNS

Put the NT server in your /etc/hosts.

Also, verify that your domain name is properly set on the NT server.
Kofi ARTHIABAH
Honored Contributor

Re: Using NT as a DNS

It sure looks like the NT servers are not infact running DNS (they can talk to other WINDOWS machines with WINS or NBT etc.)

to verify that DNS is infact running on those boxes, do the following (on your NT DNS server)

c:> netstat -a

look in the list that shows up and see if you have a udp domain entry. If you don't then for some reason DNS is not running... you might have to actually recycle your DNS server.

you can also try the nslookup thing from your NT box (on itsself.)


BTW check your /etc/nsswitch.conf ; it should have
hosts: files [NOTFOUND=continue] dns
nothing wrong with me that a few lines of code cannot fix!
Alan Riggs
Honored Contributor

Re: Using NT as a DNS

Put the NT server in your /etc/hosts.

Also, verify that your domain name is properly set on the NT server.
Joe Profaizer
Super Advisor

Re: Using NT as a DNS

I did put the NT server in /etc/hosts. Still no luck
Alan Riggs
Honored Contributor

Re: Using NT as a DNS

In /etc/hosts is the NT machine listed by fully-qulified domain name?
Does the NT server recognize itself as belonging to the rgare domain?
As mentioned above, are you certain that the DNS service is running on the NT server?
Joe Profaizer
Super Advisor

Re: Using NT as a DNS

Yes, I'm certain. There is no UDP entries (netstat -a), but plenty of TCP entries. I spoke to our NT Administration leaders and they don't see any options for UDP.

..Joe
Alan Riggs
Honored Contributor

Re: Using NT as a DNS

It also looks like you are going to DNS before going to files. Please switch this in /etc/nsswitch.conf as suggested above.
Mike McKinlay
Honored Contributor

Re: Using NT as a DNS

Joe, the suggestion on nsswitch is important. I'm assuming you can ping the DNS system fine. From your HP-UX system, try a standard nslookup query, as in

nslookup known.server.com 10.10.1.6

Do you get a response from the DNS server?
"Hope springs eternal."
Kofi ARTHIABAH
Honored Contributor

Re: Using NT as a DNS

Let's try some troubleshooting technique:

1. nslookup
2. when prompted, type in
> server 10.10.1.6
Default Server: [10.10.1.6]
Address: 10.10.1.6
> set debug
> set querytype=ns
> rgare.com.
(it should return information from your DNS server if it is running) if it is not running, then get the NT guys to fix it. If it is running, then the problem might be the following:

It appears that your network is firewalled in, and you might not have access to the root name servers... if that is the case then your dns servers will have to be configured to BE the root servers.


looking up FILES
*** No address information is available for
"www.hp.com"
nothing wrong with me that a few lines of code cannot fix!
Jacques Simon
Advisor

Re: Using NT as a DNS

The first thing the UP-UX resolver wants from a nameserver is its name. So it sends a ip-address (here 10.10.1.5) to name resolution-request to the DNS server. This server should thus have a PTR entry (ip to name) for its OWN ip-address. Ask your DNS administrator to add such a "reverse" entry, and your problem should be resolved.
Jacques
David Rodman
Frequent Advisor

Re: Using NT as a DNS

I had an NT server running DNS for a while. The short answer is that you don't
want to do it for a long period of time. Frequent (1 week)
recycling of the dns service was required to keep it up.