LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-02-2013, 06:44 PM   #1
rpmacaspac
Member
 
Registered: Jul 2013
Distribution: centos 6
Posts: 48

Rep: Reputation: Disabled
BIND-resolving name (dig -x ipaddr answer: 0)


i configure bind and i cant access my fqdn in another pc. but my server is running when nslookup but when dig -x "addr" it OUTPUTS ANSWER: 0. what's missing. im configuring this locally and i do not own apc.com

nslookup
> 192.168.1.8
Server: 192.168.1.8
Address: 192.168.1.8#53

8.1.168.192.in-addr.arpa name = rolem.apc.com.
>
8.192.in-addr.arpa name = rolem.apc.com.


> rolem.apc.com
Server: 192.168.1.8
Address: 192.168.1.8#53

Name: rolem.apc.com
Address: 192.168.1.8






root@rolem named]# dig rolem.apc.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6_4.6 <<>> rolem.apc.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27060
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;rolem.apc.com. IN A

;; ANSWER SECTION:
rolem.apc.com. 86400 IN A 192.168.1.8

;; AUTHORITY SECTION:
apc.com. 86400 IN NS rolem.apc.com.

;; Query time: 0 msec
;; SERVER: 192.168.1.8#53(192.168.1.8)
;; WHEN: Wed Sep 4 06:46:15 2013
;; MSG SIZE rcvd: 61



but when i dig "my addr" the ANSWER: 0

[root@rolem named]# dig -x 192.168.1.1

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6_4.6 <<>> -x 192.168.1.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 3390
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;1.1.168.192.in-addr.arpa. IN PTR

;; AUTHORITY SECTION:
1.168.192.in-addr.arpa. 86400 IN SOA rolem.apc.com. root.apc.com. 106071990 21600 3600 604800 86400

;; Query time: 0 msec
;; SERVER: 192.168.1.8#53(192.168.1.8)
;; WHEN: Wed Sep 4 06:46:42 2013
;; MSG SIZE rcvd: 96

Last edited by rpmacaspac; 09-02-2013 at 06:49 PM.
 
Old 09-03-2013, 12:01 AM   #2
SAbhi
Member
 
Registered: Aug 2009
Location: Bangaluru, India
Distribution: CentOS 6.5, SuSE SLED/ SLES 10.2 SP2 /11.2, Fedora 11/16
Posts: 664

Rep: Reputation: 80
Quote:
; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 3390
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
so there's a problem in zone file entry..
Please share your config and zone files content to check that further.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] nslookup, host, dig not resolving entries in /etc/hosts MensaWater Linux - Networking 21 09-30-2016 08:43 AM
DIG doesn't answer for internal zones plvasco Linux - Server 3 05-21-2013 04:44 PM
[SOLVED] dig does not return answer section-- Please reply deepak_message Linux - Server 15 01-16-2012 05:03 AM
'dig' resolving junust Linux - General 2 02-25-2010 03:59 AM
No Answer with DIG amplifire Linux - Server 2 05-18-2009 08:58 AM


All times are GMT -5. The time now is 12:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration