Anyone using AutoDNS? Issue with handling redirects

20 views
Skip to first unread message

Max den Hollander (Makzemann)

unread,
Mar 18, 2025, 4:42:00 PMMar 18
to DNSControl-discuss
Hi all, am new to this community and DNSControl and loving the tool. We are working to implement DNSControl as part of our workflow, and one issue I'm running into is how to either include or ignore the redirects we have configured in our AutoDNS. For some reason DNSControl is suggesting to delete such records wherever they exist and I cannot figure out how to handle this in the config.

example config:
var REG_NONE = NewRegistrar('none');
var DSP_AUTODNS = NewDnsProvider('autodns');

D('somedomain.com', REG_NONE, DnsProvider(DSP_AUTODNS), DefaultTTL(600),
NAMESERVER_TTL("86400"),
);
Result from 'dnscontrol preview': ******************** Domain: somedomain.com
1 correction (autodns)
#1: - DELETE somedomain.com redirect  ttl=86400
Zone update for somedomain.com


We have tried including the A record pointer to AutoDNS default redirector:
A("@", "62.116.130.8"),
A("www", "62.116.130.8"),
A("*", "62.116.130.8"), Or adding an IGNORE:
IGNORE("*", "A", "62.116.130.8"),
IGNORE("redirect"), Or even NO_PURGE, none of these actually avoid this preview outcome of DELETE and so I'm running out of ideas! Would love to hear how you solved this.

Many thanks.

Max den Hollander (Makzemann)

unread,
Mar 19, 2025, 8:51:59 AMMar 19
to DNSControl-discuss
fixed it using 
IGNORE("","redirect"),

Op dinsdag 18 maart 2025 om 21:42:00 UTC+1 schreef Max den Hollander:

Tom Limoncelli

unread,
Mar 20, 2025, 11:27:31 AMMar 20
to Max den Hollander (Makzemann), DNSControl-discuss
Max,

I'm glad you were able to work that out.  Sadly the way DNSControl handles unknown record types isn't very good.  That's something I'd like to improve in the future.

Tom


--
You received this message because you are subscribed to the Google Groups "DNSControl-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dnscontrol-disc...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dnscontrol-discuss/257244b6-05a8-4794-b978-d082fa2093abn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages