summaryrefslogtreecommitdiff
path: root/source4/dns_server/dns_query.c
AgeCommit message (Collapse)AuthorFilesLines
2013-05-26dns: Support larger queries when asking forwarderKai Blin1-0/+13
This should fix bug #9632 Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-05-16dns: Add support for MX queriesKai Blin1-0/+8
Due to an oversight, the internal DNS server supports MX record updates, but not MX record queries. Add support for MX queries and tests. This should fix bug #9485 Signed-off-by: Kai Blin <kai@samba.org> Reviewed-By: Amitay Isaacs <amitay@gmail.com>
2013-05-16dns: Use new DNS debugclass in DNS serverKai Blin1-0/+3
Signed-off-by: Kai Blin <kai@samba.org> Reviewed-By: Amitay Isaacs <amitay@gmail.com>
2012-09-07s4 dns: Make debug output less noisyKai Blin1-1/+1
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-05s4 dns: When we got a TKEY, we need to remember which key to use for signingKai Blin1-2/+12
2012-09-05s4 dns: TKEY record needs to remember incoming algorithmKai Blin1-1/+9
Samba3 (and older windows versions) use gss.microsoft.com, win7 (and the RFC) use gss-tsig
2012-09-05s4 dns: Move dns_find_tkey to an extra fileKai Blin1-55/+31
2012-09-05s4 dns: Revert erroneous push from wrong branchKai Blin1-52/+58
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-05s4 dns: Handle GSS-TSIG signaturesKai Blin1-58/+52
2012-08-31s4 dns: Store TKEYs in a ringbufferKai Blin1-55/+70
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-31s4 dns: Negotiate GSSAPI-based TKEYsKai Blin1-0/+224
Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Fri Aug 31 10:38:35 CEST 2012 on sn-devel-104
2012-06-06s4:dns-server: remove an extra blank line from handle_question()Michael Adam1-1/+0
2012-06-06s4 dns: Correctly handle A questions for CNAMEsKai Blin1-5/+56
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-05-30s4-dns: Use W_ERROR_HAVE_NO_MEMORY in create_response_rrKai Blin1-24/+8
2012-05-30s4-dns: Use proper talloc hierarchy for NS records in create_response_rrKai Blin1-1/+2
2012-05-30s4-dns: Use proper talloc hierarchy for AAAA records in create_response_rrKai Blin1-1/+2
2012-05-30s4-dns: Remove sync dns_server_process_queryVolker Lendecke1-31/+0
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30s4-dns: Make dns_process_send asynVolker Lendecke1-2/+2
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30s4-dns: Remove unused sync ask_forwarder wrapperVolker Lendecke1-30/+0
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30s4-dns: Make dns_server_process_query asyncVolker Lendecke1-37/+120
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30s4-dns: Make ask_forwarder asyncVolker Lendecke1-43/+111
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30s4-dns: Create a proper talloc hierarchy in create_response_rrVolker Lendecke1-3/+15
Pair-Programmed-With: Michael Adam <obnox@samba.org> Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30s4-dns: Fix some typosVolker Lendecke1-1/+1
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30s4-dns: Use talloc_asprintf_append_buffer in create_response_rrVolker Lendecke1-2/+2
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-30s4-dns: Add some NULL checks to create_response_rrVolker Lendecke1-0/+15
Signed-off-by: Kai Blin <kai@samba.org>
2012-03-27s4 dns: Only do recursive queries when allowed/desiredKai Blin1-7/+26
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-27s4 dns: Allow changing the dns operation flags in handlersKai Blin1-0/+2
2012-03-27s4 dns: Only forward for zones we don't ownKai Blin1-2/+3
2012-03-27s4 dns: Forward questions we can't answer to another serverKai Blin1-6/+79
This makes use of libdns and currently hardcodes the forward server, but it works. :)
2012-03-11s4 dns: Support TXT queriesKai Blin1-0/+11
2012-03-09s4 dns: Add support for PTR queries.Kai Blin1-1/+5
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Fri Mar 9 12:27:38 CET 2012 on sn-devel-104
2011-12-17s4 dns: Move record lookup to dns_utils.cKai Blin1-36/+7
2011-11-04s4 dns: Handle QCLASS_NONE queriesKai Blin1-0/+5
2011-11-04s4 dns: Support DNS_QTYPE_ALL queriesKai Blin1-109/+59
2011-09-28dns: Do as BIND and MS DNS and drop quries with qdcount != 1Kai Blin1-5/+11
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Wed Sep 28 03:37:22 CEST 2011 on sn-devel-104
2011-09-28dns: The QCLASS is called IN, not IPKai Blin1-6/+6
2010-10-23s4:dns_server - fix counter typesMatthias Dieter Wallnöfer1-3/+2
2010-10-23s4 dns: Switch to WERRORKai Blin1-26/+26
2010-10-23s4 dns: Split up the code into multiple files for easier developmentKai Blin1-0/+233