Question

Setting up new DNS server, web URL resolution works but not host name resolution

Asked by: jvossler

I am setting up a new DNS server using Solaris 10 u4 and BIND 9.3.4-P1.

I have set up all the appropriate files: named.conf and all the forward and reverse tables.  I can get proper name resolution for the web sites we will be hosting, but I am unable to get name resolution for any of the internal host names.

Our internal network is composed of about a dozen class C network segments;  192.168.X.0/24 with 2<=X<=20  

Our public address space is a small /28 network (14 usable addresses)

We HAVE NOT yet changed the name server definition where the domains are registered.  This will be done once everything is tested and operating correctly.

nslookup commands for various local hosts return the proper DNS server address (our new DNS server) but report a Non-authoritative answer of "Can't find <hostname>"

I need some direction in how to troubleshoot this issue

Any help is appreciated.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2008-09-06 at 15:27:58ID23709329
Tags

Sun

,

Bind

,

9

,

new install of DNS server

Topics

Domain Name Service (DNS)

,

Sun Solaris

,

Unix Networking

Participating Experts
2
Points
500
Comments
12

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Unix DNS resolution (Solaris)
    We have an application runnng on SUN Solaris. Some users connect to the network via a dial up connection. These users (running Win95 desktops) are dynamically assigned an IP address when they log on. The network is NT. Form UNIX, pinging the user PC is possible the first ...
  2. nslookup says Non-authoritative answer:...
    Because IE can't open the page of www.vbxml.com, I type "c:/>nslookup www.vbxml.com" to see the IP address for PING. I got the following message. Non-authoritative answer: Name: www.vbxml.com Address: 207.176.43.254 What's that? why? Thanks
  3. How to use nslookup if the machine does not access to any…
    Hi, We've a DB server (Oracle) running on a Sun Solaris. This server has no access to any DNS server. The only thinng it has for host names lookup is the file /etc/hosts. Inside the file /etc/nsswitch.conf, there is the line "hosts: dns files" So, a service to look...
  4. Authoritative DNS server?
    How do I check which DNS server is authoritative for the zone? Command line tool? How to do it with Nslookup? Thanks
  5. nslookup "Non-authoritative answer:'
    In nslookup interactive mode, I entered the following URL, "www.zinc.uganda.com". > www.zinc.uganda.com Server: [192.168.1.2] Address: 192.168.1.2 Non-authoritative answer: Name: www.zinc.uganda.com Address: 216.234.246.150 Here's what I don't get. I'...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: JustUNIXPosted on 2008-09-07 at 04:46:26ID: 22410996

If you are using a proxy serverfor web access, it will do the DNS resolution for you -- no need to set up DNS locally,
For anything else your DNS client must be configured correctly.

Are you sure that your "new" DNS server has all the required entries and
does forwarding to other DNS server(s) for non-local names?

To test it, use
   nslookup hostname

 

by: jvosslerPosted on 2008-09-07 at 11:11:59ID: 22412225

I BELIEVE that I have all the correct entries for forward and reverse entries.  I used a tool "mkrdns" to make the reverse DNS files from the forward DNS files that I created manually

This is DNS for a small office that is used for testing, we run the Solaris Ready test lab for Sun Microsystems.  We have direct internet access through an ISP and have a /28 address space for public addresses that we NAT through our firewall (Checkpoint FW-1 NGX R65).

This DNS server and a slave will be the authoritative servers for three domains.

Here is some output from running nslookup commands

ITIfw1:/> nslookup vrcontracting.com
Server:         72.19.183.2
Address:        72.19.183.2#53

Name:   vrcontracting.com
Address: 72.19.183.4

ITIfw1:/> nslookup charon
Server:         72.19.183.2
Address:        72.19.183.2#53

Non-authoritative answer:
*** Can't find charon: No answer

ITIfw1:/> nslookup gw7
Server:         72.19.183.2
Address:        72.19.183.2#53

Non-authoritative answer:
*** Can't find gw7: No answer

ITIfw1:/>  nslookup itinfrastructures.net
nslookup: too many lookups
ITIfw1:/>


I have checked that I do not have any recursive CNAME entries in the forward file but at this point I'm not certain what to be looking at.


 

by: RowleyPosted on 2008-09-08 at 04:41:37ID: 22416274

You will need to specify which local domain the host belongs to or the search order in your clients resolv.conf, or specify the fqdn of the host.

example resolv.conf:

domain mydomain.com
nameserver 1.2.3.4

For more detailed info consult the resolv.conf man page. Also, I would probably start using dig instead of nslookup to help you debug/query your dns servers as its a lot more powerful and verbose.

hth.

 

by: jvosslerPosted on 2008-09-08 at 05:35:27ID: 22416610

Well, that was a major oversight on my part in the resolv.conf.  The current file looks like.

domain itinfrastructures.net
nameserver 72.19.183.2
nameserver 72.19.128.53
nameserver 72.19.128.99
nameserver 198.77.116.8
nameserver 207.69.188.185
nameserver 207.69.188.186
nameserver 207.69.188.187


I am still not getting resolution.  Here is some output

ITIfw1:/> nslookup itinfrastructures.net    
Server:         72.19.183.2
Address:        72.19.183.2#53

** server can't find itinfrastructures.net.itinfrastructures.net: SERVFAIL

ITIfw1:/> nslookup www.itinfrastructures.net
Server:         72.19.183.2
Address:        72.19.183.2#53

** server can't find www.itinfrastructures.net.itinfrastructures.net: SERVFAIL

ITIfw1:/> nslookup charon.itinfrastructures.net
Server:         72.19.183.2
Address:        72.19.183.2#53

** server can't find charon.itinfrastructures.net.itinfrastructures.net: SERVFAIL

ITIfw1:/> nslookup gw7.itinfrastructures.net  
Server:         72.19.183.2
Address:        72.19.183.2#53

** server can't find gw7.itinfrastructures.net.itinfrastructures.net: SERVFAIL

ITIfw1:/>

 

by: RowleyPosted on 2008-09-08 at 06:02:48ID: 22416802

Can you post relevant excerpts from your master zone file? Also, what does "dig itinfrastructures.net" give you?

 

by: jvosslerPosted on 2008-09-08 at 06:14:27ID: 22416889

Here is the output from the dig command

ITIfw1:/> dig itinfrastructures.net    

; <<>> DiG 9.3.4-P1 <<>> itinfrastructures.net
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 1170
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;itinfrastructures.net.         IN      A

;; Query time: 3 msec
;; SERVER: 72.19.183.2#53(72.19.183.2)
;; WHEN: Mon Sep  8 07:05:06 2008
;; MSG SIZE  rcvd: 39

ITIfw1:/>

I will attach the forward file "master.itinfrastructures.net" as well as the reverse file for 192.168.7.0/28

They are both text files but I had to add ".txt" to them to allow the upload.

 

by: RowleyPosted on 2008-09-08 at 06:26:43ID: 22417002

You appear to be missing the "$ORIGIN ." from the top of the file and "$ORIGIN itinfrastructures.net." (note the fqdn) from where your records for that zone begin. eg:

;
; Start Of Authority (SOA) definition
;
$ORIGIN .
itinfrastructures.net.      IN      SOA      ns1.itinfrastructures.net.            admin.itinfrastructures.net. (
            2008090500      ; serial number

...and...

; web url resolution
;
itinfrastructures.net.      IN            A            72.19.183.3
$ORIGIN itifrastructures.net.
www.itinfrastructures.net.      IN            A            72.19.183.3

The reverse arpa zone is missing all the SOA and other zone data. I take it this is a test server? You can get away with editing this and reloading the zone, rndc reload [zone].

 

by: RowleyPosted on 2008-09-08 at 06:34:28ID: 22417082

Oh yeah, I wouldn't post such detailed info on the web without sanitising it first as nefarious types could use it to their advantage, and to your expense.

 

by: jvosslerPosted on 2008-09-08 at 14:12:38ID: 22421682

I was in a rush this AM and did not sanitize the files I uploaded.  My oversight.

I did an RTFM on the mkrdns tool and discovered that it does not put the SOA data in place.  I have updated the reverse maps and added the "ORIGIN ." and the "$ORIGIN itifrastructures.net." directives.

After restarting the server and client processes I now get this output

ITIfw1:/var/dns> nslookup www.itinfrastructures.net  
Server:         72.19.183.2
Address:        72.19.183.2#53

** server can't find www.itinfrastructures.net.itinfrastructures.net: SERVFAIL

ITIfw1:/var/dns> nslookup itinfrastructures.net    
Server:         72.19.183.2
Address:        72.19.183.2#53

** server can't find itinfrastructures.net.itinfrastructures.net: SERVFAIL

ITIfw1:/var/dns> nslookup charon              
Server:         72.19.183.2
Address:        72.19.183.2#53

** server can't find charon: NXDOMAIN

ITIfw1:/var/dns> nslookup charon.itinfrastructures.net
Server:         72.19.183.2
Address:        72.19.183.2#53

** server can't find charon.itinfrastructures.net.itinfrastructures.net: SERVFAIL

ITIfw1:/var/dns>

 

by: jvosslerPosted on 2008-09-08 at 14:21:45ID: 22421774

I have been able to get everything working correctly and have learned many new things along the way.  Some of the most valuable leassons from this project are.

 - dig   I have been working with Unix especially Solaris for about 20 years and still learn these new commands all the time.  This appears to be extremely useful in tracking down DNS resolution issues

- Restarting the DNS server processes IS NOT the same as reloading the tables.

 - This one I keep having to learn: Always take the time to RTFM when using new utilities and tools (such as mkrdns)

Rowley,

Thank you even so much for guiding me to this solution.  Your assistance is much appreciated.

 

by: jvosslerPosted on 2008-09-08 at 14:23:26ID: 31493957

Thank you for your patience and assistance.  Even after 25 years in IT I keep learning new things all the time.

 

by: RowleyPosted on 2008-09-09 at 00:08:31ID: 22424820

I agree, RTFM is an oft overlooked tactic when approaching these things however when faced with a dry technical manual, who could be blamed for bypassing it and diving straight in?

Glad you found your way.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...