> While true, how can I pragmatically determine the registrar during the SMTP 
> session in a way that scales?

Well, in theory and at least for the new gTLDs:

% whois -h whois.nic.<tld> <domain name> | grep -i "registrar:"

although

% whois -h whois.nic.<tld> <domain name> | grep -i "registrar iana id:"

is probably a bit better as you wouldn't have to deal with the registrar's 
name. (the whois server and the registrar in the whois output is contractually 
required by ICANN).

Of course, this won't work in practice because registries will rate limit 
queries and I imagine any SMTP server of any significant size will hit those 
limits quickly. Of course, if the behavior on a timeout was to reject, 
registries might be incentivized to modify the rate limiting logic...

Regards,
-drc
(speaking only for myself)

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
mailop mailing list
mailop@mailop.org
https://chilli.nosignal.org/cgi-bin/mailman/listinfo/mailop

Reply via email to