Strange DNS issue

Hi there,

I have BIND running on a Virtualmin pro (3.55) install on Centos5.

I have three TXT records for a particular domain. 1 is SPF and the other 2 are Domainkeys related.

I use this DNS lookup tool - and it appears that only the SPF record is showing, but reports nothing about the other 2.

I’m scratching my head with this one. None of tests (for checking if dkim/domainkeys will work) are passing. All fails because they can’t check DNS records.

Does anyone have a clue? They (TXT records) are definitely there and have been for over a week.

Regards Steven

The domain is

Yep, you don’t have any other txt records:

joe@corin:~$ host -t txt descriptive text "v=spf1 a mx ip4: ?all"

You’ll need to check your logs when restarting named to see if it’ll give you a clue why it’s not serving your other records. Probably a typo (though I thought a typo in a host file would break the whole zone…so maybe not a typo).

Hi Joe, here is the records file for the zone.

I don’t know where to find the log files for named.

$ttl 38400
38400 )
@ IN NS NS2.UF-DNS.NET. IN A IN A IN A IN A IN A IN A IN MX 5 IN TXT "v=spf1 a mx ip4: ?all" IN TXT "k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDL3o7ee3VINF1X9KapuFI4xKpBKISxPZrd5u08w9GzCrEddF+/q74qWMijdK4e3PDf5ojDiHS4jeRMxwS4pPpETezA7rs58ulwW23QuKPKDwXQnxM43mwW7M3lWb7cZxzcz3ct4dep0tt4VAIt8NzP3/ON" IN TXT "o=-" IN MX 10


Regards Steven

Hi Joe, thank you very much for that insight.

I think my DNS records are correct for domainkeys/DKIM, for some reason the likes of (and other tests) can’t access the key from these records, even thought the selector ‘connormunro’ is set. Strange, but I will figure this out one way or another. Just in case there is someone out there who knows something about domainkeys/DKIM (that I don’t), here is the headers of an email I sent to my gmail address.


Received: by with SMTP id l3cs230399tia;
Sat, 26 Apr 2008 12:44:42 -0700 (PDT)
Received: by with SMTP id x1mr10031306pyl.59.1209239081877;
Sat, 26 Apr 2008 12:44:41 -0700 (PDT)
Return-Path: <>
Received: from ([])
by with ESMTP id a22si4555545pye.33.2008.;
Sat, 26 Apr 2008 12:44:41 -0700 (PDT)
Received-SPF: pass ( domain of designates as permitted sender) client-ip=;
Authentication-Results:; spf=pass ( domain of designates as permitted sender); dkim=neutral (no signature)
Received: from ( [])
by (Postfix) with ESMTP id F03A729C874
for <>; Sat, 26 Apr 2008 15:44:39 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha1; c=simple;; h=
content-transfer-encoding; q=dns/txt; s=connormunro; bh=/edzoYuy
n17WXm8KeqcX/R+khdQ=; b=XWvdZDrmk6r0VanoPDZd6v8nD6WPBp9eMIZWpVuN
DomainKey-Signature: a=rsa-sha1; c=nofws;; h=mime-version:
content-transfer-encoding; q=dns; s=connormunro; b=VXN1PSB0mk+b+
Received: from ( [])
by (Postfix) with ESMTP id CA34429C39A
for <>; Sat, 26 Apr 2008 15:44:39 -0400 (EDT)


Regads Steven

Hehehe…I’m not sure how you would expect a TXT record for to show up when you query

When I look it up with the right now, it comes back fine:

[joe@delilah wbm]$ host -t txt descriptive text "k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDL3o7ee3VINF1X9KapuFI4xKpBKISxPZrd5u08w9GzCrEddF+/q74qWMijdK4e3PDf5ojDiHS4jeRMxwS4pPpETezA7rs58ulwW23QuKPKDwXQnxM43mwW7M3lWb7cZxzcz3ct4dep0tt4VAIt8NzP3/ON"

I don’t know anything about how to setup a domainkey…so I don’t know what MTAs are looking for–but a TXT record is pulled up by the exact name to which it is associated. To pull up the ones you’ve defined you would have to lookup and