--
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/69d9f834-85ba-4e45-a404-330f9a34929f%40risingsoftware.com.
var REG_NONE = NewRegistrar("none"); // No registrar. var DNS_BINARYLANE = NewDnsProvider("binarylane"); D("my-test-zone.dev", REG_NONE, DnsProvider(DNS_BINARYLANE), DefaultTTL(3600), A("@", "1.1.1.1"), A("wwww", "1.1.1.2"), A("wwww2", "1.1.1.1") );
Thanks,
Well, that was easy! From Porkbun I was able to get my new provider going for some basic functions in a few hours. I haven't tried the unit tests yet.
I'm a bit stuck on handling of the nameservers though. My provider does not include the apex NS records in the record list, nor can they be modified. I haven't declared any nameservers in my dnsconfig.js.
I tried injecting NS records into the records list in GetZoneRecords(), but then dnscontrol saw those as needing to be deleted.
I don't declare my nameservers when using the Cloudflare provider and it doesn't warn about this there, so I don't know what's different. Any hints?
On Tue, Jun 10, 2025 at 10:24 PM Hamish Moffatt <ham...@risingsoftware.com> wrote:
Well, that was easy! From Porkbun I was able to get my new provider going for some basic functions in a few hours. I haven't tried the unit tests yet.
Good to hear!I'm a bit stuck on handling of the nameservers though. My provider does not include the apex NS records in the record list, nor can they be modified. I haven't declared any nameservers in my dnsconfig.js.
Is GetNameservers() defined?
Thanks, there was a logic error in GetNameservers() resulting in it not returning the list. It's working now.
Unfortunately I think this project is a non-starter as the provider seems to have a bunch of restrictions or bugs. I can't edit the TTL of anything, and I can't have an MX record with a label part of "foo.bar" (though an A record allows it), for example.
Hamish
Thanks, there was a logic error in GetNameservers() resulting in it not returning the list. It's working now.
Unfortunately I think this project is a non-starter as the provider seems to have a bunch of restrictions or bugs. I can't edit the TTL of anything, and I can't have an MX record with a label part of "foo.bar" (though an A record allows it), for example.