Kai Blin
8ba8020586
s4 dns: Make debug output less noisy
...
Autobuild-User(master): Kai Blin <kai@samba.org>
Autobuild-Date(master): Fri Sep 7 00:31:56 CEST 2012 on sn-devel-104
2012-09-07 00:31:56 +02:00
Kai Blin
956f41bddf
s4 dns: When we got a TKEY, we need to remember which key to use for signing
2012-09-05 19:02:17 +02:00
Kai Blin
e81d026576
s4 dns: TKEY record needs to remember incoming algorithm
...
Samba3 (and older windows versions) use gss.microsoft.com, win7 (and the RFC) use gss-tsig
2012-09-05 19:02:17 +02:00
Kai Blin
c0e6a4b1b0
s4 dns: Move dns_find_tkey to an extra file
2012-09-05 19:02:16 +02:00
Kai Blin
558fa4c45a
s4 dns: Revert erroneous push from wrong branch
...
I've pushed the wrong branch for this, sorry about that.
Autobuild-User(master): Kai Blin <kai@samba.org>
Autobuild-Date(master): Wed Sep 5 14:10:54 CEST 2012 on sn-devel-104
2012-09-05 14:10:54 +02:00
Kai Blin
fc9de26497
s4 dns: Handle GSS-TSIG signatures
2012-09-05 08:41:23 +02:00
Kai Blin
c256566aa9
s4 dns: Store TKEYs in a ringbuffer
...
This stops us from potentially being DoSed by tons of TKEYs
Autobuild-User(master): Kai Blin <kai@samba.org>
Autobuild-Date(master): Fri Aug 31 22:46:01 CEST 2012 on sn-devel-104
2012-08-31 22:46:01 +02:00
Kai Blin
7204dc9708
s4 dns: Negotiate GSSAPI-based TKEYs
...
Autobuild-User(master): Kai Blin <kai@samba.org>
Autobuild-Date(master): Fri Aug 31 10:38:35 CEST 2012 on sn-devel-104
2012-08-31 10:38:35 +02:00
Michael Adam
abe4798398
s4:dns-server: remove an extra blank line from handle_question()
2012-06-06 19:37:13 +02:00
Kai Blin
f3df2988ba
s4 dns: Correctly handle A questions for CNAMEs
...
When an A/AAAA lookup is made for a name that actually is a CNAME
record, we need to return the CNAME record, and then do the A/AAAA
lookup for the name the CNAME points at.
This still fails for CNAMEs pointing at records for domains we need to
ask our forwarders for.
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Wed Jun 6 15:23:55 CEST 2012 on sn-devel-104
2012-06-06 15:23:55 +02:00
Kai Blin
6a1ad76c5e
s4-dns: Use W_ERROR_HAVE_NO_MEMORY in create_response_rr
2012-05-30 00:38:00 +02:00
Kai Blin
9d128bbb62
s4-dns: Use proper talloc hierarchy for NS records in create_response_rr
2012-05-30 00:38:00 +02:00
Kai Blin
ffc568eb42
s4-dns: Use proper talloc hierarchy for AAAA records in create_response_rr
2012-05-30 00:37:59 +02:00
Volker Lendecke
4dbbd304e6
s4-dns: Remove sync dns_server_process_query
...
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30 00:37:58 +02:00
Volker Lendecke
2b6b7c64e1
s4-dns: Make dns_process_send asyn
...
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30 00:37:57 +02:00
Volker Lendecke
28b5219ad9
s4-dns: Remove unused sync ask_forwarder wrapper
...
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30 00:37:57 +02:00
Volker Lendecke
03b35211ab
s4-dns: Make dns_server_process_query async
...
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30 00:37:56 +02:00
Volker Lendecke
e2c1a8b87a
s4-dns: Make ask_forwarder async
...
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30 00:37:56 +02:00
Volker Lendecke
6cdbce266b
s4-dns: Create a proper talloc hierarchy in create_response_rr
...
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30 00:37:55 +02:00
Volker Lendecke
0b2743c71e
s4-dns: Fix some typos
...
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30 00:37:54 +02:00
Volker Lendecke
1bdaf4b31b
s4-dns: Use talloc_asprintf_append_buffer in create_response_rr
...
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30 00:37:53 +02:00
Volker Lendecke
1bbdf224bb
s4-dns: Add some NULL checks to create_response_rr
...
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30 00:37:52 +02:00
Kai Blin
26f7a676f9
s4 dns: Only do recursive queries when allowed/desired
...
If recursive queries are switched off in smb.conf or the client doesn't ask for
recursion, don't recurse.
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Tue Mar 27 17:39:26 CEST 2012 on sn-devel-104
2012-03-27 17:39:26 +02:00
Kai Blin
533b2e6612
s4 dns: Allow changing the dns operation flags in handlers
2012-03-27 16:03:16 +02:00
Kai Blin
8d9da67185
s4 dns: Only forward for zones we don't own
2012-03-27 16:03:16 +02:00
Kai Blin
a991391605
s4 dns: Forward questions we can't answer to another server
...
This makes use of libdns and currently hardcodes the forward server, but
it works. :)
2012-03-27 16:03:15 +02:00
Kai Blin
e6c6f49595
s4 dns: Support TXT queries
2012-03-11 00:31:37 +01:00
Kai Blin
9a93f43ceb
s4 dns: Add support for PTR queries.
...
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Fri Mar 9 12:27:38 CET 2012 on sn-devel-104
2012-03-09 12:27:37 +01:00
Kai Blin
8b82bad006
s4 dns: Move record lookup to dns_utils.c
2011-12-17 02:46:08 +01:00
Kai Blin
57bf64b375
s4 dns: Handle QCLASS_NONE queries
2011-11-04 15:51:59 +01:00
Kai Blin
61913f8506
s4 dns: Support DNS_QTYPE_ALL queries
2011-11-04 15:51:58 +01:00
Kai Blin
1210b8abe7
dns: Do as BIND and MS DNS and drop quries with qdcount != 1
...
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Wed Sep 28 03:37:22 CEST 2011 on sn-devel-104
2011-09-28 03:37:22 +02:00
Kai Blin
f98ebcf43f
dns: The QCLASS is called IN, not IP
2011-09-28 02:02:36 +02:00
Matthias Dieter Wallnöfer
a60965b879
s4:dns_server - fix counter types
2010-10-23 16:37:29 +02:00
Kai Blin
cfa47965fe
s4 dns: Switch to WERROR
2010-10-23 10:17:06 +00:00
Kai Blin
682a2e93da
s4 dns: Split up the code into multiple files for easier development
2010-10-23 10:17:06 +00:00