mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-13 10:58:17 +08:00
4ef9e8bc40
* models/record.go: SRV targets are case insensitive. Downcase them. * models/t_srv.go: Rename setTargetIntAndStrings() to setTargetSRVIntAndStrings() (makes it easier to search for /setTargetSRV/). * pkg/js/parse_tests/021-srv.js*: SRV: Add parse_tests * pkg/normalize/validate.go: SRV targets are hostnames, turn into FQDNs. * Add #rtype_variations warnings for future developers
7 lines
255 B
JavaScript
7 lines
255 B
JavaScript
D("foo.com","none"
|
|
, SRV('_ntp._udp', 1, 100, 123, 'one.foo.com.')
|
|
, SRV('_ntp._udp', 2, 100, 123, 'two')
|
|
, SRV('_ntp._udp', 3, 100, 123, 'localhost')
|
|
, SRV('_ntp._udp', 4, 100, 123, 'three.example.com.')
|
|
, SRV('_ntp._udp', 0, 0, 1, 'zeros')
|
|
);
|