$ORIGIN tt.testing. @ 3600 IN SOA ns.tt.testing. root.tt.testing. ( 5 ; serial 604800 ; refresh 86400 ; retry 2419200 ; expire 36000 ; minimum ) ; Name Server Information _etcd-server-ssl._tcp.test1.tt.testing. IN SRV 10 10 2380 test1-etcd-0.tt.testing. test1-api IN A 192.168.0.23
cat Corefile (global) { log errors cache 86400 { prefetch 5 10m 10% } dnssec loadbalance prometheus :9153 } tt.testing:53 { log errors file zones/test1-api } .:53 { import global forward . 192.168.0.15:53 { health_check 10s except tt.testing } }
$ nslookup test1-api.tt.testing -port=8533 Server: 192.168.0.15 Address: 192.168.0.15#8533 Name: test1-api.tt.testing Address: 192.168.0.23
​Hope that helps, it was fun and easy to setup...