RE: dig command for reverse dsn check

2003-01-07 Thread John Brooks
another method  ;-)
use the 'host' command with either the domainname or the ip

dle:demo:/etc {101} # host yahoo.com
yahoo.com has address 66.218.71.198
yahoo.com has address 64.58.79.230
yahoo.com mail is handled (pri=1) by mx2.mail.yahoo.com
yahoo.com mail is handled (pri=5) by mx4.mail.yahoo.com
yahoo.com mail is handled (pri=1) by mx1.mail.yahoo.com

dle:demo:/etc {102} # host 64.58.79.230
230.79.58.64.IN-ADDR.ARPA domain name pointer w1.rc.vip.dcx.yahoo.com

--
John Brooks
[EMAIL PROTECTED] 

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of JoeB
> Sent: Tuesday, January 07, 2003 8:43 PM
> To: Fuzzy
> Cc: FBSDQ
> Subject: RE: dig command for reverse dsn check
> 
> 
>>>>>>>>>> snip <<<<<<<<<<<<<

> Thanks for the quick reply, but I need some clarification
> MY email address =   [EMAIL PROTECTED]
> My email server mail.clvhoh.adelphia.net
> dig -x 66.26.76.83 ptr
> what IP address  to use in dig command?
> The ip address of the domain name or the email server?
> 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: dig command for reverse dsn check

2003-01-07 Thread Brian Jackson

On Tuesday, January 7, 2003, at 09:42  PM, JoeB wrote:


On Tue, 7 Jan 2003, JoeB wrote:


How do I check my ISP domain name to see if it's DNS server is
configured correctly for email reverse DNS lookup?

I'd use:

dig -x ip.ad.dr.ess PTR [@name.server]

the ANSWER SECTION shows what DNS thinks is the
reverse name for that IP.

dig -x 66.26.76.83 ptr

Thanks for the quick reply, but I need some clarification
MY email address =   [EMAIL PROTECTED]
My email server mail.clvhoh.adelphia.net
dig -x 66.26.76.83 ptr
what IP address  to use in dig command?
The ip address of the domain name or the email server?


use dig to find the IP address of your host (dig foo.bar)

use the IP address that comes back in the ANSWER section for the dig -x 
(IP address from above) PTR

again, look under the ANSWER section, and it will show you the reverse 
record.

Brian
--
Brian Jackson
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


RE: dig command for reverse dsn check

2003-01-07 Thread JoeB
On Tue, 7 Jan 2003, JoeB wrote:

> How do I check my ISP domain name to see if it's DNS server is
> configured correctly for email reverse DNS lookup? I have used dig
> isp-domain-name but I can not tell from what it displays what to
look
> for to verify it's configured correctly. The dig display is
lacking
> descriptive verbiage to identify what the information displayed
means.
> Can someone help me please.

I'd use:

dig -x ip.ad.dr.ess PTR [@name.server]

the ANSWER SECTION shows what DNS thinks is the
reverse name for that IP.

dig -x 66.26.76.83 ptr

; <<>> DiG 8.3 <<>> -x ptr
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUERY SECTION:
;;  83.76.26.66.in-addr.arpa, type = PTR, class = IN

;; ANSWER SECTION:
83.76.26.66.in-addr.arpa.  59m25s IN PTR  rdu26-76-083.nc.rr.com.

;; AUTHORITY SECTION:
76.26.66.in-addr.arpa.  59m25s IN NSns1.nc.rr.com.
76.26.66.in-addr.arpa.  59m25s IN NSns2.nc.rr.com.

;; ADDITIONAL SECTION:
ns1.nc.rr.com.  33m25s IN A 24.93.67.126
ns2.nc.rr.com.  33m25s IN A 24.93.67.127

;; Total query time: 0 msec
;; FROM: pooh.ASARian.org to SERVER: default -- 127.0.0.1
;; WHEN: Tue Jan  7 21:34:00 2003
;; MSG SIZE  sent: 42  rcvd: 146


Thanks for the quick reply, but I need some clarification
MY email address =   [EMAIL PROTECTED]
My email server mail.clvhoh.adelphia.net
dig -x 66.26.76.83 ptr
what IP address  to use in dig command?
The ip address of the domain name or the email server?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message