summaryrefslogtreecommitdiff
path: root/source4/rpc_server/dnsserver
AgeCommit message (Collapse)AuthorFilesLines
2012-03-21s4-rpc: dnsserver: Fix IPv6 reverse zone handlingAmitay Isaacs1-0/+7
Thanks to Marcel Ritter <marcel.ritter@rrze.fau.de> for the patch.
2012-03-02s4-rpc: dnsserver: Fix the typo in comparing two DNS recordsAmitay Isaacs1-2/+2
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Mar 2 10:27:41 CET 2012 on sn-devel-104
2012-03-02s4-rpc: dnsserver: Update data type for TXT DNS recordsAmitay Isaacs1-6/+25
2012-01-12s4-rpc:dnsserver: DNS names are case insensitiveAmitay Isaacs3-17/+17
2012-01-06s4-rpc:dnsserver: Do not replace @ with zone_name in update operationAmitay Isaacs1-1/+6
This fixes the problem when updating DNS record for '@' or domain name.
2011-12-23s4:rpc-dnsserver: Set the rank for the new DNS record correctlyAmitay Isaacs1-0/+8
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Dec 23 07:56:34 CET 2011 on sn-devel-104
2011-12-23s4:rpc-dnsserver: Add commentsAmitay Isaacs1-0/+7
2011-12-23s4:rpc-dnsserver: Make sure that zone information is filled inAmitay Isaacs1-0/+10
This fixes the problem of NULL zone in zone operations when specific zone is specified and no zone filter is specified.
2011-12-23s4:rpc-dnsserver: Implement zone management RPC operationsAmitay Isaacs3-2/+436
- ZoneCreate operation to create zone. - DeleteZoneFromDs operation to delete zone When a zone is deleted, all the records in that zone are also deleted.
2011-12-23s4:rpc-dnsserver: Add multiple DNS records in a single operationAmitay Isaacs1-11/+16
This allows to add dnsNode objectclass with multiple DNS records in a single operation. Useful for creating @ record which has NS and SOA records.
2011-12-23s4:rpc-dnsserver: Use handy macros for error checkingAmitay Isaacs1-11/+3
2011-12-23s4:rpc-dnsserver: Implement DirectoryPartitionInfo RPC operationAmitay Isaacs3-1/+151
2011-12-23s4:rpc-dnsserver: Fix the enumeration of DNS recordsAmitay Isaacs1-0/+10
If a node has data and children, do not return the children unless the node is the top level node.
2011-12-23s4:rpc-dnsserver: Use cached zone information to get rootserversAmitay Isaacs1-9/+6
This removes the hardcoded search for DC=RootDNSServers, and uses the cached zone information.
2011-12-23s4:rpc-dnsserver: Implement EnumDirectoryPartition operationAmitay Isaacs2-1/+36
2011-12-23s4:rpc-dnsserver: Cache DNS partition informationAmitay Isaacs4-89/+151
This information will be used for the RPC calls for partition information.
2011-12-23s4:rpc-dnsserver: If a zone is reverse zone, set the fReverse flagAmitay Isaacs2-3/+14
And use fReverse flag in the enumeration of zones.
2011-12-23s4:rpc-dnsserver: For PTR records, use dns_name_equal instead of strcmp to ↵Amitay Isaacs1-1/+1
compare
2011-11-08s4-dnsserver: Fix enumeration of zones in ComplexOperation RPC callAmitay Isaacs1-49/+84
zone_request_flags are interpreted in different groups rather than a single group. This correctly returns 0 zones when there are no reverse zones and DNS_ZONE_REQUEST_REVERSE is set in zone_request_flags.
2011-11-02s4-dnsserver: Handle the case when the dns name is NULLAmitay Isaacs1-0/+4
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-02s4-dnsserver: Build a dns name tree for correct enumerationAmitay Isaacs3-122/+274
The result of EnumRecords/EnumRecords2 RPC calls, is a list of dns records that are one level below in the name hierarchy starting from the search name. This patch builds a tree of names to get the list of records one level below the search names and correctly count the number of child records for each of those. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-02s4-dnsserver: List dns zones matching the search filterAmitay Isaacs1-26/+96
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-02s4-dnsserver: Compare two dns names using last uncommon name componentsAmitay Isaacs1-2/+26
When search_name is not NULL, use the second last component of name instead of the last name. e.g. To compare following two names, _ldap._tcp.gc, and _ldap._tcp.Default-First-Site-Name._sites.gc with search_name=NULL, it is gc and gc with search_name=gc, it is _tcp and _sites Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-02s4-dnsserver: Set DNS_DP_AUTOCREATED flag for the zone informationAmitay Isaacs1-1/+1
This make the zone information similar to windows (W2K8r2). Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-10-20s4-dns: Update serial number for zone on dns updatesAmitay Isaacs1-3/+83
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-10-20s4-dns: Added DCERPC dns server for DNS managementAmitay Isaacs5-0/+3763
dnsserver.h - typedefs and prototypes dnsserver.c - RPC API and implementation methods dnsdb.c - samdb operations dnsdata.c - functions to manipulate dns structures dnsutils.c - function for serverinfo and zoneinfo structures Signed-off-by: Andrew Tridgell <tridge@samba.org>