diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-12-12 15:15:21 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-12-17 19:12:26 +0100 |
commit | 9492f0f00fd7c1815959f19988f83accce108ce4 (patch) | |
tree | 013378d69f58c31222b2d70f72f925232d389c04 /source4/libcli/config.mk | |
parent | 8df2140c18996e616e6fe1fcc8fd3e52ca5dcd74 (diff) | |
download | samba-9492f0f00fd7c1815959f19988f83accce108ce4.tar.gz samba-9492f0f00fd7c1815959f19988f83accce108ce4.tar.xz samba-9492f0f00fd7c1815959f19988f83accce108ce4.zip |
s4:libcli/resolve: add getaddrinfo()/dns_looup() resolving
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
Diffstat (limited to 'source4/libcli/config.mk')
-rw-r--r-- | source4/libcli/config.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libcli/config.mk b/source4/libcli/config.mk index 8c31077d8c1..b60cda9adf1 100644 --- a/source4/libcli/config.mk +++ b/source4/libcli/config.mk @@ -136,6 +136,7 @@ PRIVATE_DEPENDENCIES = LIBCLI_NBT LIBSAMBA-HOSTCONFIG LIBNETIF LP_RESOLVE_OBJ_FILES = $(addprefix $(libclisrcdir)/resolve/, \ bcast.o nbtlist.o wins.o \ + dns_ex.o \ host.o resolve_lp.o) $(eval $(call proto_header_template,$(libclisrcdir)/resolve/lp_proto.h,$(LP_RESOLVE_OBJ_FILES:.o=.c))) |