summaryrefslogtreecommitdiff
path: root/source4/libcli/resolve/dns_ex.c
AgeCommit message (Collapse)AuthorFilesLines
2008-12-17s4:libcli/resolve: optionally return the name that belongs to the returned ↵Stefan Metzmacher1-11/+44
address E.g. this helps for DNS CNAME and SRV results. metze
2008-12-17s4:libcli/resolve: pass down flags to the resolver backendsStefan Metzmacher1-0/+3
metze
2008-12-17s4:libcli/resolve: add getaddrinfo()/dns_looup() resolvingStefan Metzmacher1-0/+484
This "dns_ex" module provides flexible lookup methods for dns lookups. The getaddrinfo() part looks at /etc/hosts and dns. As it handles CNAME replies badly we fallback to use dns_lookup(name, "A"). The dns_lookup() makes DNS SRV lookups possible. This module is not a real resolve module, it's just a generic helper as the nbtlist.c code is. The next step will be that the "host" module will use the dns_ex.c code. metze