On Wed, 29 Jul 2015, Marc Perkel wrote:

Just wondering.

I'm thinking about creating an RBL to block email addresses. But you can't use an @ in a hostname for lookups. So - is there a standard RBL format for email addresses or do I need to just make something up?

Who says: "you can't use an @ in a hostname for lookups" ?
Have you tried it?

I just added an entry in my private URIRBL (based upon "rbldnsd" )
for the "hostname" 'b...@herrajeskafapa.com'
I then query for it using standard DNS tools (nslookup, dig) and it
works just fine.

 # nslookup b...@herrajeskafapa.com.redacted.icaen.uiowa.edu.
 Server:         127.0.0.1
 Address:        127.0.0.1#53

 Non-authoritative answer:
 Name:   bill\@herrajeskafapa.com.REDACTED.icaen.uiowa.edu
 Address: 127.0.0.6

So yes, you can literally use '@' in a DNS record now. Some time back
you couldn't have but with the modern requirements for DNS zone data
(EG UTF8, UTF16, etc) now pretty much anything goes.
(just saw my first Japanese katakana TLD yesterday, sigh...)

--
Dave Funk                                  University of Iowa
<dbfunk (at) engineering.uiowa.edu>        College of Engineering
319/335-5751   FAX: 319/384-0549           1256 Seamans Center
Sys_admin/Postmaster/cell_admin            Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{

Reply via email to