Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Dec 2008 13:49:27 -0600 (CST)
From:      Larry Rosenman <ler@lerctr.org>
To:        Dimitry Andric <dimitry@andric.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Why does host and dig show a ; as \;?
Message-ID:  <alpine.BSF.2.00.0812091344020.23053@thebighonker.lerctr.org>
In-Reply-To: <493ECA0D.7090901@andric.com>
References:  <004901c95a1c$5c6b2680$15417380$@org> <493ECA0D.7090901@andric.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0812091344020.23053>