Why does host and dig show a ; as \;?

Doug Barton dougb at FreeBSD.org
Mon Dec 15 03:06:01 UTC 2008


Larry Rosenman wrote:
> On Sun, 14 Dec 2008, Doug Barton wrote:
> 
>>
>> I've never come across this, but if I had to guess I'd say that it does
>> so for maximum compatibility with a wide variety of DNS software.
>> Remember the robustness principle, "liberal in what you accept,
>> conservative in what you send."
> 
> I'm just surprised it prints it that way, but the actual DNS responses
> do *NOT* contain the escaping.
> 
> It was a surprise, at least to me, while trying to verify the RR's.
> 
> Turns out the real problem was unrelated, but this still surprised me.

After 14 years I'm still surprised by the DNS on a somewhat regular
basis. :)

Doug

-- 

    This .signature sanitized for your protection


More information about the freebsd-current mailing list