LinuxQuestions.org
Visit Jeremy's Blog.
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 05-19-2009, 11:00 AM   #46
jcvalim
Member
 
Registered: Apr 2009
Location: Brazil
Distribution: Debian
Posts: 47

Original Poster
Rep: Reputation: 15

Does anyone here this forum that can help me solve this problem?

If you have someone who knows about Debian I would ask for help.

The Problem:


mail:/etc/bind# dig -x 118.xx.xx.xxx @127.0.0.1

; <<>> DiG 9.3.4-P1.1 <<>> -x 118.xx.xx.xxx @127.0.0.1
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63760
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3

;; QUESTION SECTION:
;xxx.xx.xx.118.in-addr.arpa. IN PTR

;; ANSWER SECTION:
xxx.xx.xx.118.in-addr.arpa. 3281 IN PTR i118.xx.xx.xxx.s10.a044.ap.plala .or.jp.

;; AUTHORITY SECTION:
xx.xx.118.in-addr.arpa. 3281 IN NS ns-tk062.ocn.ad.jp.
xx.xx.118.in-addr.arpa. 3281 IN NS dns-cz1.plala.or.jp.
xx.xx.118.in-addr.arpa. 3281 IN NS dns-cz2.plala.or.jp.

;; ADDITIONAL SECTION:
dns-cz1.plala.or.jp. 86080 IN A xxx.xx.xx.164
dns-cz2.plala.or.jp. 86080 IN A xx.xx.xx.164
ns-tk062.ocn.ad.jp. 86080 IN A xxx.xxx.xxx.206

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue May 19 12:14:46 2009
;; MSG SIZE rcvd: 218

Last edited by jcvalim; 05-19-2009 at 01:12 PM.
 
Old 05-19-2009, 11:03 AM   #47
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
That looks like a perfectly normal response to a reverse DNS query.

In the future, please do not report posts unless they violate one of the site rules.
 
Old 05-19-2009, 11:19 AM   #48
jcvalim
Member
 
Registered: Apr 2009
Location: Brazil
Distribution: Debian
Posts: 47

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Matir View Post
That looks like a perfectly normal response to a reverse DNS query.

In the future, please do not report posts unless they violate one of the site rules.
Sorry, but i thought I should don't mention my place only.

And is not normal because I did a test on a site that there error of reverse DNS.

mail:/etc/bind# nslookup xxx.xx.xx.118
Server: 127.0.0.1
Address: 127.0.0.1#53

** server can't find 118.xx.xx.xxx.in-addr.arpa: NXDOMAIN

Thanks!!!
 
Old 05-19-2009, 11:23 AM   #49
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Yes, but in one case you're looking up the ip address xxx.xx.xx.118, and in the other, 118.xx.xx.xxx. Thus you would not expect to see the same results.
 
Old 05-19-2009, 11:37 AM   #50
jcvalim
Member
 
Registered: Apr 2009
Location: Brazil
Distribution: Debian
Posts: 47

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Matir View Post
Yes, but in one case you're looking up the ip address xxx.xx.xx.118, and in the other, 118.xx.xx.xxx. Thus you would not expect to see the same results.
The correct it would appear the same domain name, so:

mail:/etc/bind# nslookup mydomain.com
Server: 127.0.0.1
Address: 127.0.0.1#53

Name: mydomain.com
Address: xxx.xx.xx.118


And not so:

mail:/etc/bind# nslookup xxx.xx.xx.118
Server: 127.0.0.1
Address: 127.0.0.1#53

** server can't find 118.xx.xx.xxx.in-addr.arpa: NXDOMAIN

Because he is not finding its reverse.

Do you has any suggestion?


Thanks!!!

Last edited by jcvalim; 05-19-2009 at 12:08 PM.
 
Old 05-19-2009, 01:21 PM   #51
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Try this:
Code:
dig -x xxx.xx.xx.118 @127.0.0.1
This should show you the server responding to the reverse DNS query. The nameservers that appear in the "Authority Section" should have reverse records (that is, PTR records) for your IP & hostname. See the BIND documentation or http://www.centos.org/docs/5/html/5....e-reverse.html for setting up reverse zones and PTR records if you are the administrator of the authoritative server.
 
Old 05-19-2009, 02:18 PM   #52
jcvalim
Member
 
Registered: Apr 2009
Location: Brazil
Distribution: Debian
Posts: 47

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Matir View Post
Try this:
Code:
dig -x xxx.xx.xx.118 @127.0.0.1
This should show you the server responding to the reverse DNS query. The nameservers that appear in the "Authority Section" should have reverse records (that is, PTR records) for your IP & hostname. See the BIND documentation or http://www.centos.org/docs/5/html/5....e-reverse.html for setting up reverse zones and PTR records if you are the administrator of the authoritative server.


The information that you went to also apply in the Debian because I never used the CentOS.

Below are my files:



mail:/etc/bind# dig -x xxx.xx.xx.118 @127.0.0.1

; <<>> DiG 9.3.4-P1.1 <<>> -x xxx.xx.xx.118 @127.0.0.1
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 64008
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

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

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue May 19 16:14:21 2009
;; MSG SIZE rcvd: 44

and

mail:/etc/bind# dig -x mydomain.com @127.0.0.1

; <<>> DiG 9.3.4-P1.1 <<>> -x mydomain.com @127.0.0.1
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 1214
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;com.mydomain.in-addr.arpa. IN PTR

;; AUTHORITY SECTION:
in-addr.arpa. 10800 IN SOA A.ROOT-SERVERS.NET. dns-ops.ARIN.NET. 2009051904 1800 900 691200 10800

;; Query time: 41 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue May 19 16:15:40 2009
;; MSG SIZE rcvd: 119
 
Old 05-21-2009, 02:18 AM   #53
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,168
Blog Entries: 1

Rep: Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038
Hi jcvalim

Have you contacted your ISP for the delegation of the reverse zone for the IPs you own? Because after more that a month from your last post the situation looks the same.

BTW the documentation for setting up a nameserver using bind, is the same regardless theOS. The only thing that might change is the installation and the location of the various files needed. The zone file format is always the same.
 
  


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
anybody familiar with this error "Xlib: connection to ":0.0" refused by server" ? rajnivanza Linux - Newbie 3 03-22-2009 05:10 PM
Attempt to connect to Cups server."Server Error" richag77 Linux - Newbie 3 02-25-2008 07:31 AM
"Fatal server error. Caught signal 11, server aborting" please help ! Fear58 Linux - General 2 10-16-2007 10:33 PM
Apache Alias Returns 404 or "Cannot find server or DNS Error" The00Dustin Linux - Software 3 02-14-2006 12:44 PM
dns & apache server "need help installing" faustozabdi Linux - Software 1 01-03-2006 04:46 PM

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

All times are GMT -5. The time now is 06:30 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