[Dnsmasq-discuss] SRV forwarding is not working
Michael Strelnikov
michaelst at gmail.com
Sun Mar 17 11:19:06 GMT 2013
I have a configured a dnsmasq to forward all queries in form of "*.
mycompany.com" to server 10.0.0.1:
server=/mycompany.com/10.0.0.1
But when I'm trying to get SRV "_ldap._tcp.dc._msdcs.mycompany.com" I
receive:
> host -t SRV _ldap._tcp.dc._msdcs.mycompany.com. 192.168.5.20
;; Truncated, retrying in TCP mode.
Using domain server:
Name: 192.168.5.20
Address: 192.168.5.20#53
Aliases:
Host _ldap._tcp.dc._msdcs.mycompany.com. not found: 3(NXDOMAIN)
The direct query works fine:
> host -t SRV _ldap._tcp.dc._msdcs.mycompany.com. 10.0.0.1
;; Truncated, retrying in TCP mode.
Using domain server:
Name: 10.0.0.1
Address: 10.0.0.1#53
Aliases:
_ldap._tcp.dc._msdcs.mycompany.com has SRV record 0 100 389
server1.mycompany.com.
_ldap._tcp.dc._msdcs.mycompany.com has SRV record 0 100 389
server2.mycompany.com.
_ldap._tcp.dc._msdcs.mycompany.com has SRV record 0 100 389
server3.mycompany.com.
_ldap._tcp.dc._msdcs.mycompany.com has SRV record 0 100 389
server4.mycompany.com.
_ldap._tcp.dc._msdcs.mycompany.com has SRV record 0 100 389
server5.mycompany.com.
_ldap._tcp.dc._msdcs.mycompany.com has SRV record 0 100 389
server6.mycompany.com.
_ldap._tcp.dc._msdcs.mycompany.com has SRV record 0 100 389
server7.mycompany.com.
_ldap._tcp.dc._msdcs.mycompany.com has SRV record 0 100 389
server8.mycompany.com.
_ldap._tcp.dc._msdcs.mycompany.com has SRV record 0 100 389
server9.mycompany.com.
And more. If I change query type from SRV to ANY (to the dnsmasq) I receive
correct answer:
> host -t ANY _ldap._tcp.dc._msdcs.mycompany.com. 192.168.5.20
;; Truncated, retrying in TCP mode.
Using domain server:
Name: 192.168.5.20
Address: 192.168.5.20#53
Aliases:
_ldap._tcp.dc._msdcs.mycompany.com has SRV record 0 100 389
server1.mycompany.com.
_ldap._tcp.dc._msdcs.mycompany.com has SRV record 0 100 389
server2.mycompany.com.
_ldap._tcp.dc._msdcs.mycompany.com has SRV record 0 100 389
server3.mycompany.com.
_ldap._tcp.dc._msdcs.mycompany.com has SRV record 0 100 389
server4.mycompany.com.
_ldap._tcp.dc._msdcs.mycompany.com has SRV record 0 100 389
server5.mycompany.com.
_ldap._tcp.dc._msdcs.mycompany.com has SRV record 0 100 389
server6.mycompany.com.
_ldap._tcp.dc._msdcs.mycompany.com has SRV record 0 100 389
server7.mycompany.com.
_ldap._tcp.dc._msdcs.mycompany.com has SRV record 0 100 389
server8.mycompany.com.
_ldap._tcp.dc._msdcs.mycompany.com has SRV record 0 100 389
server9.mycompany.com.
What is wrong?
P.S. I have "filterwin2k" commented.
Best regards,
Michael Strelnikov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20130317/41187299/attachment.html>
More information about the Dnsmasq-discuss
mailing list