Re: [exim] dig and backslash - was Re: DKIM signing with the…

Top Page
Delete this message
Reply to this message
Author: James Lovejoy
Date:  
To: exim-users
Subject: Re: [exim] dig and backslash - was Re: DKIM signing with the i= (Identity) tag/header
On 11/23/2016 7:12 AM, Andrew C Aitchison wrote:
> On Wed, 23 Nov 2016, Jasen Betts wrote:
>
>>> The output of dig should have one backslash in there, the actual record
>>> should have none indeed.
>>
>> dig txt 20120113._domainkey.gmail.com 8.8.4.4 | grep ^20120113
>> 20120113._domainkey.gmail.com. 281 IN    TXT    "k=rsa;
>> p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1Kd87/UeJjenpabgbFwh+eBCsSTrqmwIYYvywlbhbqoo2DymndFkbjOVIPIldNs/m40KF+yzMn1skyoxcTUGCQs8g3FgD2Ap3ZB5DekAo5wMmk4wimDO+U8QzI3SD0"
>> "7y2+07wlNWwIt8svnxgdxGkVbbhzY8i+RQ9DpSVpPbF7ykQxtKXkv/ahW3KjViiAH+ghvvIhkx4xYSIc9oSwVmAl5OctMEeWUwg8Istjqz8BZeTWbf41fbNhte7Y+YqZOwq1Sd0DbvYAD9NOZK9vlfuac0598HY+vtSBczUiKERHv1yRbcaQtZFh5wtiRrN04BLUTD21MycBX5jYchHjPY/wIDAQAB"

>>
>>
>> No backslashes. Am I doing something wrong.
>>
>> I, too seem to recall backslashes from dig in the past, but I can't
>> provoke them today.
>
> On a Scientific Linux (Red Hat) 6 machine I *do* see the back-slash:
> # dig -v
> DiG 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6_8.3
>
>
> Are we using different nameservers or is it just that
> I have old versions of dig ... ?
>


On RHEL 7.3 I find a very similar result:

# dig -v
DiG 9.9.4-RedHat-9.9.4-38.el7_3
# dig txt 20120113._domainkey.gmail.com 8.8.4.4 | grep ^20120113
20120113._domainkey.gmail.com. 187 IN   TXT     "k=rsa\;
p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1Kd87/UeJjenpabgbFwh+eBCsSTrqmwIYYvywlbhbqoo2DymndFkbjOVIPIldNs/m40KF+yzMn1skyoxcTUGCQs8g3FgD2Ap3ZB5DekAo5wMmk4wimDO+U8QzI3SD0"
"7y2+07wlNWwIt8svnxgdxGkVbbhzY8i+RQ9DpSVpPbF7ykQxtKXkv/ahW3KjViiAH+ghvvIhkx4xYSIc9oSwVmAl5OctMEeWUwg8Istjqz8BZeTWbf41fbNhte7Y+YqZOwq1Sd0DbvYAD9NOZK9vlfuac0598HY+vtSBczUiKERHv1yRbcaQtZFh5wtiRrN04BLUTD21MycBX5jYchHjPY/wIDAQAB"


--James