Operating System - HP-UX
1820114 Members
3312 Online
109619 Solutions
New Discussion юеВ

Problem with resolving internet address

 
mvr
Regular Advisor

Problem with resolving internet address

We just changed our DNS from Novell to HP-UX 11.11 Everything is working fine, except that we can't lookup e.g. hp.com, msn.com, novell.com, mail.mindspring.com ..... However we can access the website in the borwser (via proxy server).
I think that my db.cache (root file) is not correct .... Please advice where should I look for the problem.

Miro
6 REPLIES 6
Robert-Jan Goossens
Honored Contributor

Re: Problem with resolving internet address

Kevin Wright
Honored Contributor

Re: Problem with resolving internet address

Do your querries time out? are you sure your allowing DNS resolution through the firewall (if necessary) from this host?

Here is a root.cache file.

; This file holds the information on root name servers needed to
; initialize cache of Internet domain name servers
; (e.g. reference this file in the "cache . "
; configuration file of BIND domain name servers).
;
; This file is made available by InterNIC registration services
; under anonymous FTP as
; file /domain/named.root
; on server FTP.RS.INTERNIC.NET
; -OR- under Gopher at RS.INTERNIC.NET
; under menu InterNIC Registration Services (NSI)
; submenu InterNIC Registration Archives
; file named.root
;
; last update: Aug 22, 1997
; related version of root zone: 1997082200
;
;
; formerly NS.INTERNIC.NET
;
. 3600000 IN NS A.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4
;
; formerly NS1.ISI.EDU
;
. 3600000 NS B.ROOT-SERVERS.NET.
B.ROOT-SERVERS.NET. 3600000 A 128.9.0.107
;
; formerly C.PSI.NET
;
. 3600000 NS C.ROOT-SERVERS.NET.
C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12
;
; formerly TERP.UMD.EDU
;
. 3600000 NS D.ROOT-SERVERS.NET.
D.ROOT-SERVERS.NET. 3600000 A 128.8.10.90
;
; formerly NS.NASA.GOV
;
. 3600000 NS E.ROOT-SERVERS.NET.
E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10
;
; formerly NS.ISC.ORG
;
. 3600000 NS F.ROOT-SERVERS.NET.
F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241
;
; formerly NS.NIC.DDN.MIL
;
. 3600000 NS G.ROOT-SERVERS.NET.
G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4
;
; formerly AOS.ARL.ARMY.MIL
;
. 3600000 NS H.ROOT-SERVERS.NET.
H.ROOT-SERVERS.NET. 3600000 A 128.63.2.53
;
; formerly NIC.NORDU.NET
;
. 3600000 NS I.ROOT-SERVERS.NET.
I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17
;
; temporarily housed at NSI (InterNIC)
;
. 3600000 NS J.ROOT-SERVERS.NET.
J.ROOT-SERVERS.NET. 3600000 A 198.41.0.10
;
; housed in LINX, operated by RIPE NCC
;
. 3600000 NS K.ROOT-SERVERS.NET.
K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129
;
; temporarily housed at ISI (IANA)
;
. 3600000 NS L.ROOT-SERVERS.NET.
L.ROOT-SERVERS.NET. 3600000 A 198.32.64.12
;
; housed in Japan, operated by WIDE
;
. 3600000 NS M.ROOT-SERVERS.NET.
M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33
; End of File
Donny Jekels
Respected Contributor

Re: Problem with resolving internet address

check you firewall, to allow dns queries, updates from your new dns server.

make sure it is the same as for your novell server.
"Vision, is the art of seeing the invisible"
Steven E. Protter
Exalted Contributor

Re: Problem with resolving internet address

You HP-UX DNS server either needs outside Internet Access to resolve these names:

Or, it needs a server that gets data from the Internet configured in /etc/resolv.conf

The root server information above is critical.

A way I get good data is to add my internal DNS servers to the end of that list, those in my case are Windows Boxes, and it helps to treat them as root servers.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Geoff Wild
Honored Contributor

Re: Problem with resolving internet address

Here's a little script I run once a month to keep my root file up to date:

#!/bin/sh
# This script updates the root.hints file to keep it current
# Should be run from cron once a month
# Geoff Wild - Sep 1, 1999
#
cp /var/named/root.hints /var/named/root.hints.old
dig @a.root-servers.net . ns > /var/named/root.hints
mail -s "named.root.hints updated" root

On another note, do you have an external DNS server already? if so, do you have a forwarders statement on your HP-UX box?

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
mvr
Regular Advisor

Re: Problem with resolving internet address

Thank you all !!! Root file was incomplete, and I didn't have default gateway set up as well. Everything is working great and I can close my 2 months project.

Miro