[Pdns-users] txt record not returning a value
Curtis Maurand
curtis at maurand.com
Fri Nov 8 15:18:29 UTC 2024
> On Nov 8, 2024, at 8:50 AM, Frank @ Kiwazo via Pdns-users <pdns-users at mailman.powerdns.com> wrote:
>
> Hi Curtis, Nico,
>
> @nico: the format is correct, it's used for cross-domain reporting (so domain X.tld has a rua in nico at Y.tld <mailto:nico at Y.tld>). See https://www.rfc-editor.org/rfc/rfc7489#section-7.1 for details.
>
> Curtis: could you please share some more details:
>
> - how did you add the record
> - what is the ip of the ns where you added it
> - what is the error you get
>
> Thanks,
>
> Frank
>
>
>
>> On 8 Nov 2024, at 14:25, Nico CARTRON via Pdns-users <pdns-users at mailman.powerdns.com> wrote:
>>
>> Hi Curtis,
>>
>> On 08-Nov-2024 13:37 CET, <pdns-users at mailman.powerdns.com <mailto:pdns-users at mailman.powerdns.com>> wrote:
>>
>>> Hello,
>>>
>>> I'm trying to set up an external dmarc permission in pdns authoritative
>>> 4.8.4. I'm fixing to upgrade to the latest, but that is a complex task given
>>> the confiruration file format change and the lack of support for non-systemd
>>> servers and the fact that the install wipes out the /etc/init.d/pdns script
>>> (bad form). Every time I upgrade, I have restore that script.
>>>
>>> At any rate, I've added the txt record:
>>>
>>> domain.com._report._dmarc.xyonet.com with a content of v=DMARC1
>>>
>>> when I run a dig against that: "dig @localhost txt
>>> domain.com._report._dmarc._xyonet.com I don't get an error, but I don't get
>>> the value, either. Is there something I'm doing wrong. This seems like I'm
>>> missing something stupid. Other txt records are working fine.
>>
>> Please share the TXT RR by itself.
>> The format you shared is weird, I have this in one of my zones:
>>
>> _dmarc.ncartron.org <http://dmarc.ncartron.org/> 86400 IN TXT "v=DMARC1; p=none; rua=mailto:nicolas+dmarc at ncartron.org"
>>
>> and I can resolve it just fine with a `dig txt`
>>
>> --
>> Nico
I use ispconfig which adds the record via a sq insertl. (Don’t get me started. They should be using pdns-util).
From the sql query “select * from records where domain_id=’47’ and type=’txt’” I get
| 638 | 47 | circadianinfo.com._report._dmarc.xyonet.com | TXT | v=DMARC1
Dig returns nothing.
; <<>> DiG 9.18.28-1~deb12u2-Debian <<>> txt @localhost circadininfo.com._report._dmarc.xyonet.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 41542
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;circadininfo.com._report._dmarc.xyonet.com. IN TXT
;; AUTHORITY SECTION:
xyonet.com. 3600 IN SOA ns1.xyonet.com. cmaurand.xyonet.com. 2024110807 7200 540 604800 3600
;; Query time: 7 msec
;; SERVER: 127.0.0.1#53(localhost) (UDP)
;; WHEN: Fri Nov 08 10:16:45 EST 2024
;; MSG SIZE rcvd: 120
Thanks.
>> _______________________________________________
>> Pdns-users mailing list
>> Pdns-users at mailman.powerdns.com <mailto:Pdns-users at mailman.powerdns.com>
>> https://mailman.powerdns.com/mailman/listinfo/pdns-users
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20241108/c60a5555/attachment-0001.htm>
More information about the Pdns-users
mailing list