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

From: Larry Rosenman <ler_at_lerctr.org>
Date: Tue, 9 Dec 2008 13:49:27 -0600 (CST)
On Tue, 9 Dec 2008, Dimitry Andric wrote:

> On 2008-12-09 17:36, Larry Rosenman wrote:
>> Why does the host command, dig, and a named_db.dump all show a ; as \; in a
>> TXT record?
>
> AFAICS the semicolon is a comment character in BIND software (at least
> in all config files and so on), and therefore it needs to be escaped.
>
This is in the responses as shown:
$ host -t txt blueprint._domainkey.lombardi.com

blueprint._domainkey.lombardi.com descriptive text "v=DKIM1\; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDCkAwTHQf0339ugaLhgZWCfGWvgzB92PrD03kpk/RsFv5novZZT0QnL2zVXyBFHe2BjbVrfOl9oF33A3hniVrt89iz3dhZD9NWiYsBZl5qYhTfNe7Ia8ZeBb+PuswQnEWG5/aFmkAoDj2L6RHUJlAyjDo4dxCbqnDiFUiV4BqMQQIDAQAB\;"

But the actual record does NOT have the \ in it.

This was confusing to me.



-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                 E-Mail: ler_at_lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
Received on Tue Dec 09 2008 - 18:49:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:38 UTC