(All) DNS Resource Records
netmeister.org
netmeister.org
I did some experiments a number of years ago and found almost none of the DNS server software out there parses zone files the same, particularly surrounding parenthesis, line wrapping, and unknown record types.
$ORIGIN example.com.
@ IN SOA ns.example.info. hostmaster.example.info. (
2021031306 ; Serial
12h ; Refresh (secondary server accepts zone update notifications)
2h ; Retry (how long secondary should wait before retrying)
14d ; Expire (how long records should be considered valid by secondary)
1h ; NXDOMAIN (Nonexistent domain) TTL – previously the Minimum TTL
)
I considered publishing my Vim script but figured I should improve it so that it would work for all valid zone files. Then I read the Master Files section of RFC 1035¹ and realised that this would be more difficult than I had assumed. I’m also not particularly proficient with Vimscript so I never published it. Since then, I’ve converted my zones to be dynamic so I don’t need to worry about formatting or updating the serial.Out of interest, which name server had the most robust parsing of zone files?
And then along comes https://datatracker.ietf.org/doc/draft-ietf-dnsop-svcb-https... defining a "SRV2", SVCB and also its identical twin the HTTPS RR (same format, different RR number). I have a fear that those routers will end up supporting the HTTPS RR but not SVCB...
* https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-svcb-...
At work, obviously IT group policy, "security" middle boxes and so on will insist on whatever set of nonsense is just barely enough to keep the Marketing Director's twitter working how she likes it, and the Sales Director's Candy Crush on his work phone. Can't help you really on that.
IPv6 also solves the problem, as you can easily assign a big subnet to a web server and one IP per (sub-) domain.
And with the upcoming ESNI there are probably some additional privacy benefits.
Hint: This same method (SRV RRs and priorities/weights) so that a client communicates with a Domain Controller down the hall, instead of another one halfway across the country.
Then, just imagine that it's a web browser connecting to a web server, instead of a workstation connecting to a DC.
according to clients' geoip, you just need to adjust weights/priority in the srv record so, a client can fallback next-nearest server
sshfp
records? They seem quite useful even without dnssec. Or is the lack of dnssec the only reason they’re not/little used?