[dns-operations] about rName translation

Steven Carr sjcarr at gmail.com
Sat May 31 15:58:50 UTC 2014


On 31 May 2014 15:11, hua peng <huapeng at arcor.de> wrote:
> But have a question that, how can I translate a standard email address
> to a rName within SOA, and then translate it back? is there a standary
> library for doing this? (I use Ruby, but py/pl are fine).

Rname to Email: replace the first unescaped "." with an @ symbol,
unescape any escaped "."
Email to Rname: any "." symbols before @ escape with "\", replace @ with "."

e.g.

s\.j\.carr.gmail.com = s.j.carr at gmail.com



More information about the dns-operations mailing list