LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-27-2009, 09:47 AM   #1
Thimanjer
LQ Newbie
 
Registered: Nov 2003
Posts: 2

Rep: Reputation: 0
No DNS answer whitout FQDN


Hello,

I encountered a little problem

My DNS server seems to work perfectly when I try to resolve an address like : nslookup toto.mydns.fr
I get the correct IP address.

But when I try : nslookup toto (without domain)
I donīt get any IP address.

Did I miss something in my DNS configuration ?

Thanks for your help

I hope you understand me and my poor english level ;-)

Regards,


dig toto

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> toto
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 33908
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;toto. IN A

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

;; Query time: 1 msec
;; SERVER: xxx.xxx.xxx.xx#53(xxx.xxx.xxx.xx)
;; WHEN: Fri Nov 27 16:44:14 2009
;; MSG SIZE rcvd: 100



dig toto.mydns.fr


; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> toto.mydns.fr
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63966
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;toto.mydns.fr. IN A

;; ANSWER SECTION:
toto.mydns.fr. 600 IN A xxx.xxx.xxx.xx

;; AUTHORITY SECTION:
mydns.fr. 43200 IN NS ns1.mydns.fr.
mydns.fr. 43200 IN NS ns2.mydns.fr.

;; ADDITIONAL SECTION:
ns1.mydns.fr. 600 IN A xxx.xxx.xxx.xx
ns2.mydns.fr. 600 IN A xxx.xxx.xxx.xx

;; Query time: 1 msec
;; SERVER: xxx.xxx.xxx.xx#53(xxx.xxx.xxx.xx)
;; WHEN: Fri Nov 27 16:45:10 2009
;; MSG SIZE rcvd: 131
 
Old 11-27-2009, 10:01 AM   #2
GooseYArd
Member
 
Registered: Jul 2009
Location: Reston, VA
Distribution: Slackware, Ubuntu, RHEL
Posts: 183

Rep: Reputation: 46
do you have:

domain mydns.fr

in /etc/resolv.conf?




Quote:
Originally Posted by Thimanjer View Post
Hello,

I encountered a little problem

My DNS server seems to work perfectly when I try to resolve an address like : nslookup toto.mydns.fr
I get the correct IP address.

But when I try : nslookup toto (without domain)
I donīt get any IP address.

Did I miss something in my DNS configuration ?

Thanks for your help

I hope you understand me and my poor english level ;-)

Regards,


dig toto

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> toto
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 33908
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;toto. IN A

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

;; Query time: 1 msec
;; SERVER: xxx.xxx.xxx.xx#53(xxx.xxx.xxx.xx)
;; WHEN: Fri Nov 27 16:44:14 2009
;; MSG SIZE rcvd: 100



dig toto.mydns.fr


; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5 <<>> toto.mydns.fr
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63966
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;toto.mydns.fr. IN A

;; ANSWER SECTION:
toto.mydns.fr. 600 IN A xxx.xxx.xxx.xx

;; AUTHORITY SECTION:
mydns.fr. 43200 IN NS ns1.mydns.fr.
mydns.fr. 43200 IN NS ns2.mydns.fr.

;; ADDITIONAL SECTION:
ns1.mydns.fr. 600 IN A xxx.xxx.xxx.xx
ns2.mydns.fr. 600 IN A xxx.xxx.xxx.xx

;; Query time: 1 msec
;; SERVER: xxx.xxx.xxx.xx#53(xxx.xxx.xxx.xx)
;; WHEN: Fri Nov 27 16:45:10 2009
;; MSG SIZE rcvd: 131
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind DNS Server - answer a few records for another domain? humbletech99 Linux - Server 15 06-21-2010 02:15 AM
Bind will not answer DNS requests jgray1978 *BSD 1 12-25-2007 02:12 PM
Mandriva DNS works but doesn't answer clients vlad-the-emailer Mandriva 2 04-11-2007 03:29 PM
DNS - resolving names without needing the FQDN ehorton Linux - Newbie 5 01-16-2006 08:43 PM
Pls help i can't get an ANSWER from DNS elopee Linux - Networking 1 09-18-2005 04:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration