|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
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 |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > how should dig work? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|