Pages

Saturday, January 30, 2010

Nslookup & Service Records ( SRV Records )

You can use to query SRV records in DNS. Here is an example:

> nslookup

Server: dns01.domain.com
Address: 1.1.1.1
> set type=srv
> _ldap._tcp.dc._msdcs.domain.com
Server: dns01.domain.com
Address: 1.1.1.1

_ldap._tcp.dc._msdcs.domain.com SRV service location:
priority = 0
weight = 100
port = 389
svr hostname = dns01.domain.com
_ldap._tcp.dc._msdcs.domain.com SRV service location:
priority = 0
weight = 100
port = 389
svr hostname = dns02.domain.com
_ldap._tcp.dc._msdcs.domain.com SRV service location:
priority = 0
weight = 100
port = 389
svr hostname = dns03.domain.com
dns01.domain.com internet address = 1.1.1.1
dns02.domain.com internet address = 2.2.2.2
dns03.domain.com internet address = 3.3.3.3
>

6 comments: