Networking Forums

Networking Forums > Computer Networking > Linux Networking > reverse lookup IP problem??

Reply
Thread Tools Display Modes

reverse lookup IP problem??

 
 
cmk128@hotmail.com
Guest
Posts: n/a

 
      10-11-2006, 03:24 AM
Hi
I got a problem on reverse IP lookup of my domain name, please help?
Here is the dump:


C:\Documents and Settings\Peter>nslookup
Default Server: dns03.netvigator.com
Address: 203.198.23.208

> set debug
> petersoft.com

Server: dns03.netvigator.com
Address: 203.198.23.208

DNS request timed out.
timeout was 2 seconds.
timeout (2 secs)
------------
Got answer:
HEADER:
opcode = QUERY, id = 3, rcode = NOERROR
header flags: response, want recursion, recursion avail.
questions = 1, answers = 1, authority records = 2,
additional = 0

QUESTIONS:
petersoft.com, type = A, class = IN
ANSWERS:
-> petersoft.com
internet address = 202.155.209.186
ttl = 85896 (23 hours 51 mins 36 secs)
AUTHORITY RECORDS:
-> petersoft.com
nameserver = ns1.petersoft.com
ttl = 85896 (23 hours 51 mins 36 secs)
-> petersoft.com
nameserver = ns2.petersoft.com
ttl = 85896 (23 hours 51 mins 36 secs)

------------
Non-authoritative answer:
Name: petersoft.com
Address: 202.155.209.186


> nslookup 202.155.209.186

Server: [202.155.209.186]
Address: 202.155.209.186

------------
Got answer:
HEADER:
opcode = QUERY, id = 4, rcode = NXDOMAIN
header flags: response, want recursion, recursion avail.
questions = 1, answers = 0, authority records = 1,
additional = 0

QUESTIONS:
nslookup, type = A, class = IN
AUTHORITY RECORDS:
-> (root)
ttl = 10800 (3 hours)
primary name server = A.ROOT-SERVERS.NET
responsible mail addr = NSTLD.VERISIGN-GRS.COM
serial = 2006101000
refresh = 1800 (30 mins)
retry = 900 (15 mins)
expire = 604800 (7 days)
default TTL = 86400 (1 day)

------------
*** 202.155.209.186 can't find nslookup: Non-existent domain



Here is my named setting file:

/var/named/named.petersoft.com:
$TTL 86400
petersoft.com. IN SOA ns1.petersoft.com.
root.petersoft.com. (
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum

petersoft.com. IN NS ns1.petersoft.com.
petersoft.com. IN NS ns2.petersoft.com.
petersoft.com. IN A 202.155.209.186
petersoft.com. IN MX 10 mail.petersoft.com.

pos A 202.155.209.186
www A 202.155.209.186
ftp A 202.155.209.186
mail A 202.155.209.186
ns1 A 202.155.209.186
ns2 A 202.155.209.186

/var/named/named.202.155.209:
$TTL 600
@ IN SOA ns1.petersoft.com. petersoft.com. (
2004102901 ; Serial
28800 ; Refresh
14400 ; Retry
720000 ; Expire
86400 ) ; minimum
; ........
@ IN NS petersoft.com.
186 IN PTR petersoft.com.
; The following is about other hosts

1 PTR pos.petersoft.com.
2 PTR mail.petersoft.com.
3 PTR ftp.petersoft.com.
4 PTR www.petersoft.com.
5 PTR ns1.petersoft.com.
6 PTR ns2.petersoft.com.


Please help.
thanks
from Peter ((E-Mail Removed))

 
Reply With Quote
 
 
 
 
Chris Davies
Guest
Posts: n/a

 
      10-11-2006, 08:45 AM
In comp.os.linux.misc (E-Mail Removed) wrote:
> I got a problem on reverse IP lookup of my domain name, please help?


> C:\Documents and Settings\Peter>nslookup
> > petersoft.com


> ANSWERS:
> -> petersoft.com
> internet address = 202.155.209.186
> ttl = 85896 (23 hours 51 mins 36 secs)
> AUTHORITY RECORDS:
> -> petersoft.com
> nameserver = ns1.petersoft.com
> ttl = 85896 (23 hours 51 mins 36 secs)
> -> petersoft.com
> nameserver = ns2.petersoft.com
> ttl = 85896 (23 hours 51 mins 36 secs)


The forward DNS, as shown, seems reasonable. It also works for me with
dig "over here", so that also bodes well.


> > nslookup 202.155.209.186


> QUESTIONS:
> nslookup, type = A, class = IN


This shows you were trying to lookup an address for "nslookup", which
I strongly suspect is not what you intended.


Trying what you probably intended, which is the rDNS for 202.155.209.186,
shows that newttidc.com controls this address space and has no rDNS
for this particular IP address. Assuming that newttidc.com is your ISP,
you will need to contact them and ask them to create the rDNS records
for you. (It's impossible to delgate less than /24 address space in the
rDNS PTR domain, and the work-arounds are cludgy at best.)


> /var/named/named.petersoft.com:


At a quick glance, this file seems OK


> /var/named/named.202.155.209:


> 186 IN PTR petersoft.com.


This would be fine if you were actually authoritative for
202.155.209.in-addr.arpa. You'll need to talk with your ISP about this.

Chris
 
Reply With Quote
 
Pascal Hambourg
Guest
Posts: n/a

 
      10-11-2006, 01:17 PM
Chris Davies a écrit :
>
> It's impossible to delgate less than /24 address space in the
> rDNS PTR domain


This is true in IPv4 in-addr.arpa reverse DNS only. In IPv6 ip6.arpa
reverse DNS, you can delegate down to /124, i.e. a 16-address block.

> and the work-arounds are cludgy at best.


For the interested people, the cludgy workarounds are described in RFC
2317 "Classless IN-ADDR.ARPA delegation".

FU2.
 
Reply With Quote
 
cmk128@hotmail.com
Guest
Posts: n/a

 
      10-12-2006, 02:01 AM

Pascal Hambourg 寫�:

> Chris Davies a écrit :
> >
> > It's impossible to delgate less than /24 address space in the
> > rDNS PTR domain

>
> This is true in IPv4 in-addr.arpa reverse DNS only. In IPv6 ip6.arpa
> reverse DNS, you can delegate down to /124, i.e. a 16-address block.
>
> > and the work-arounds are cludgy at best.

>
> For the interested people, the cludgy workarounds are described in RFC
> 2317 "Classless IN-ADDR.ARPA delegation".
>
> FU2.


yes, i think i set the named right. When i set the /etc/resolv.conf to
my server, and try the nslookup, it comes out correct result.

 
Reply With Quote
 
Trygve Selmer
Guest
Posts: n/a

 
      10-16-2006, 12:58 AM
Chris Davies wrote:
>
> Trying what you probably intended, which is the rDNS for 202.155.209.186,
> shows that newttidc.com controls this address space and has no rDNS
> for this particular IP address. Assuming that newttidc.com is your ISP,
> you will need to contact them and ask them to create the rDNS records
> for you. (It's impossible to delgate less than /24 address space in the
> rDNS PTR domain, and the work-arounds are cludgy at best.)


I'm running it on some /25 and /27 without problems. You have to work
with your ISP to get delegation of a subnet smaller than /24, but
normally it is no problem.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS - Reverse lookup configuration david Windows Networking 11 07-22-2009 03:35 PM
Zen reverse lookup Richard Tobin Broadband 16 12-07-2006 10:55 PM
Reverse Lookup Configuration aboni Windows Networking 1 05-26-2006 04:30 PM
Reverse ip lookup problem? Retlak Linux Networking 8 10-13-2004 07:59 PM
DNS --> What exactly is reverse lookup Zones Hareth Windows Networking 7 06-19-2004 10:48 AM



1 2 3 4 5 6 7 8 9 10 11