Re: OT question about dns

2008-04-09 Thread Paul Schmehl
--On Monday, April 07, 2008 23:14:29 + D Hill [EMAIL PROTECTED] 
wrote:



On Mon, 7 Apr 2008 at 18:05 -0500, [EMAIL PROTECTED] confabulated:


Does anyone know how to use dig or some other tool to query for TXT records
in DNS?

I'm working on implementing spf on a small domain that I maintain, and it
doesn't seem to be working (according to the validators I'm using.)  I'd
like  to be able to query the dns server myself, but I can't seem to find
anything  on how to extract or view TXT records for a domain.

I tried dig @server domain TXT and dig @server domain MX, but I don't get
the  TXT record.


%dig @what_ever_nameserver example.com txt

works for me. Let's see what AOL returns:

%dig @localhost aol.com txt
...
;; QUESTION SECTION:
;aol.com.   IN  TXT

;; ANSWER SECTION:
aol.com.300 IN  TXT v=spf1 ip4:152.163.225.0/24
ip4:205.188.139.0/24 ip4:205.188.144.0/24 ip4:205.188.156.0/23
ip4:205.188.159.0/24 ip4:64.12.136.0/23 ip4:64.12.138.0/24
ip4:64.12.143.99/32 ip4:64.12.143.100/32 ip4:64.12.143.101/32 ptr:mx.aol.com
?all
aol.com.300 IN  TXT spf2.0/pra
ip4:152.163.225.0/24 ip4:205.188.139.0/24 ip4:205.188.144.0/24
ip4:205.188.156.0/23 ip4:205.188.159.0/24 ip4:64.12.136.0/23
ip4:64.12.138.0/24 ip4:64.12.143.99/32 ip4:64.12.143.100/32
ip4:64.12.143.101/32 ptr:mx.aol.com ?all


Ummm...this turned out to be an ID10t problem.  I'm too embarrassed to explain 
exactly what.  :-(


But thanks for the explanation.  :-)

--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT question about dns

2008-04-08 Thread Giorgos Keramidas
On Mon, 07 Apr 2008 18:05:33 -0500, Paul Schmehl [EMAIL PROTECTED] wrote:
 Does anyone know how to use dig or some other tool to query for TXT
 records in DNS?

 I'm working on implementing spf on a small domain that I maintain, and
 it doesn't seem to be working (according to the validators I'm using.)
 I'd like to be able to query the dns server myself, but I can't seem to
 find anything on how to extract or view TXT records for a domain.

 I tried dig @server domain TXT and dig @server domain MX, but I don't
 get the TXT record.

Are you sure there *is* a TXT record?

The dig(1) utility should work fine, AFAICT:

$ dig freebsd.org txt | expand | grep -i '[ ][ ]*in[ ][ ]*txt'
;freebsd.org.   IN  TXT
freebsd.org.507 IN  TXT v=spf1 ip4:69.147.83.53 
ip4:69.147.83.54 ip6:2001:4f8:fff6::35 ip6:2001:4f8:fff6::36 ~all
$

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


OT question about dns

2008-04-07 Thread Paul Schmehl
Does anyone know how to use dig or some other tool to query for TXT records in 
DNS?


I'm working on implementing spf on a small domain that I maintain, and it 
doesn't seem to be working (according to the validators I'm using.)  I'd like 
to be able to query the dns server myself, but I can't seem to find anything on 
how to extract or view TXT records for a domain.


I tried dig @server domain TXT and dig @server domain MX, but I don't get the 
TXT record.


--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT question about dns

2008-04-07 Thread D Hill

On Mon, 7 Apr 2008 at 18:05 -0500, [EMAIL PROTECTED] confabulated:

Does anyone know how to use dig or some other tool to query for TXT records 
in DNS?


I'm working on implementing spf on a small domain that I maintain, and it 
doesn't seem to be working (according to the validators I'm using.)  I'd like 
to be able to query the dns server myself, but I can't seem to find anything 
on how to extract or view TXT records for a domain.


I tried dig @server domain TXT and dig @server domain MX, but I don't get the 
TXT record.


%dig @what_ever_nameserver example.com txt

works for me. Let's see what AOL returns:

%dig @localhost aol.com txt
...
;; QUESTION SECTION:
;aol.com.   IN  TXT

;; ANSWER SECTION:
aol.com.300 IN  TXT v=spf1 
ip4:152.163.225.0/24 ip4:205.188.139.0/24 ip4:205.188.144.0/24 
ip4:205.188.156.0/23 ip4:205.188.159.0/24 ip4:64.12.136.0/23 
ip4:64.12.138.0/24 ip4:64.12.143.99/32 ip4:64.12.143.100/32 
ip4:64.12.143.101/32 ptr:mx.aol.com ?all
aol.com.300 IN  TXT spf2.0/pra 
ip4:152.163.225.0/24 ip4:205.188.139.0/24 ip4:205.188.144.0/24 
ip4:205.188.156.0/23 ip4:205.188.159.0/24 ip4:64.12.136.0/23 
ip4:64.12.138.0/24 ip4:64.12.143.99/32 ip4:64.12.143.100/32 
ip4:64.12.143.101/32 ptr:mx.aol.com ?all

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]