DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old January 5th, 2004, 12:32 PM
kend21 kend21 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 1 kend21 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
how should dig work?

I am new to DNS 9 and am trying to verify proper configuration and setup with dig. I am only looking at an internal network, so domain name is NOT registered. I get no errors during startup from the logging keywords in named.conf. When I type "dig kdvaio", I get:

; <<>> DiG 9.2.1 <<>> kdvaio
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 63295
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;kdvaio. IN A

;; AUTHORITY SECTION:
. 223 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2004010500 1800 900 604800 86400

;; Query time: 2 msec
;; SERVER: 192.168.0.140#53(192.168.0.140)
;; WHEN: Mon Jan 5 11:29:50 2004
;; MSG SIZE rcvd: 99

but when I use nslookup, I get:

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.0.140
Address: 192.168.0.140#53

Name: kdvaio.ksdhome.net
Address: 192.168.0.120

which is what I would expect from dig, both fqdn and ip addr. Is dig working properly, or do I have a configuration issue?

Thanks in advance!!

Kend21

Reply With Quote
  #2  
Old January 5th, 2004, 02:07 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
I strongly dislike default domains that are automatically appended to a host, and most expecially software that auto translates such things.

Don't ever make a lookup for a hostname. Always lookup a fully qualified domain name. So here's some good examples on how you should test your domain:

#perform IP lookup for the following domain

dig kdvaio.ksdhome.net

#perform IP lookup for the following domain @ this server (you may specify @127.0.0.1 if the dns server is on the local machine)

dig @ns1.ksdhome.net kdvaio.ksdhome.net

#perform type ANY lookup on the root domain

dig @ns1.ksdhome.net kdvaio.ksdhome.net any

#perform zone transfer request on the root domain

dig @ns1.ksdhome.net kdvaio.ksdhome.net axfr
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > how should dig work?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway