Categories
Mastering Development System & Network

how to get all srv records in zone using dig or nslookup command?

recently i configured powerdns for my company and i want to be able to get all srv records from zone test.com

in zone test.com i have this srv records :

_sip._tcp.test.com. 3600 SRV 10 10 5060 smallbox1.test.com.

_sip._tcp.test.com. 3600 SRV 10 10 5060 smallbox2.test.com.

_sip._tcp.test.com. 3600 SRV 10 10 5060 smallbox3.test.com.

_sip2._tcp.test.com. 3600 SRV 10 10 5060 bigbox1.test.com.

_sip2._tcp.test.com. 3600 SRV 10 10 5060 bigbox2.test.com.

when i run this command:
dig @serverAddress test.com SRV

i don’t see any srv records.
so, what should i do to get all srv records in this zone?

Leave a Reply

Your email address will not be published. Required fields are marked *