From owner-freebsd-current@FreeBSD.ORG Tue Dec 9 19:49:31 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5786B1065672 for ; Tue, 9 Dec 2008 19:49:31 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [192.147.25.65]) by mx1.freebsd.org (Postfix) with ESMTP id 33B768FC12 for ; Tue, 9 Dec 2008 19:49:31 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org ([192.147.25.65]:57885) by thebighonker.lerctr.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LA8aH-00063l-CO; Tue, 09 Dec 2008 13:49:30 -0600 Date: Tue, 9 Dec 2008 13:49:27 -0600 (CST) From: Larry Rosenman To: Dimitry Andric In-Reply-To: <493ECA0D.7090901@andric.com> Message-ID: References: <004901c95a1c$5c6b2680$15417380$@org> <493ECA0D.7090901@andric.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: -1.0 (-) X-LERCTR-Spam-Score: -1.0 (-) X-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1.8, BAYES_00=-2.599, FM_MULTI_ODD2=1.1, FM_MULTI_ODD3=0.7, FM_MULTI_ODD4=0.7, FM_MULTI_ODD5=0.9 X-LERCTR-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1.8, BAYES_00=-2.599, FM_MULTI_ODD2=1.1, FM_MULTI_ODD3=0.7, FM_MULTI_ODD4=0.7, FM_MULTI_ODD5=0.9 DomainKey-Status: no signature Cc: freebsd-current@freebsd.org Subject: Re: Why does host and dig show a ; as \;? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 19:49:31 -0000 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