- Oct 12, 2010
-
-
Marek Vavrusa authored
-
Marek Vavrusa authored
-
- Sep 27, 2010
-
-
Lubos Slovak authored
-
Lubos Slovak authored
When processing DNAME, the actual qname should be used instead of the one from the query (e.g. when after CNAME). Saving the actual qname before stripping and using it in DNAME and wildcard processing.
-
Lubos Slovak authored
-
Lubos Slovak authored
-
- Sep 23, 2010
-
-
Lubos Slovak authored
There are probably multiple bugs, needs a lot of testing and revision of the algorithm. However, it should mirror the current state of the flowchart (230910-my).
-
- Sep 22, 2010
-
-
Lubos Slovak authored
-
Lubos Slovak authored
If all labels matched & the node is empty non-terminal, continue the search. If some labels matched & the node has no wildcard node, return NXDOMAIN.
-
Lubos Slovak authored
-
Lubos Slovak authored
Empty non-terminals are created after creating the zone list and before inserting into ZDS. The algorithm is quite straightforward - for each node it finds a 'parent' node and creates all nodes 'missing' between the parent and the node. Search for parent optimized by saving the last parent + jumping directly to zone apex if number of common labes is equal to size of the zone apex' owner name. Added function zn_is_empty(). Skipping empty nodes when processing non-authoritative nodes.
-
- Sep 20, 2010
-
-
Lubos Slovak authored
Changed answering algorithm so that DNAME is checked before wildcard and zone apex. (See query-processing-flowchart-200910-2.png.) Implemented CNAME from DNAME synthesis - quite dumb, with a lot of copying (because of ldns).
-
Lubos Slovak authored
Changed cute_start() to take more file names + passing these filenames from command line.
-
- Sep 17, 2010
-
-
Lubos Slovak authored
Was treating all nodes as delegation points.
-
- Sep 07, 2010
-
-
Marek Vavrusa authored
Now answers 100% queries!
-
Marek Vavrusa authored
-
Marek Vavrusa authored
Documented TCP/UDP handlers and socket manager. Cleanup of the socket manager APIs.
-
Marek Vavrusa authored
-
Marek Vavrusa authored
API consists of compulsory master thread routine and non-compulsory worker routine prototypes.
-
- Sep 06, 2010
-
-
Marek Vavrusa authored
-
Lubos Slovak authored
Conflicts: src/zone/zone-database.c
-
Lubos Slovak authored
Zone nodes are inserted into zone data structure first, only marking delegation points and skipping their children. All adjustments use zone data structure for lookup (speeds up delegation point adjusting significantly). Showing progress of zone loading (list creation, zds filling, adjusting).
-
- Sep 01, 2010
-
-
Lubos Slovak authored
-
Lubos Slovak authored
Delegation points are now adjusted while inserting the nodes into the zone data structure (zdb_insert_nodes_into_zds()) instead of during general adjustmen (zdb_adjust_zone()). In non-apex zone nodes NS is not adjusted (all NSs in such nodes are considered to be delegations). Nodes are inserted into the zone data structure before adjusting. Adjusting of CNAMEs and Additional data is done using the hash table. Note: Adjusting of the delegation points may still be too slow. Fixed nameserver answering when part of name is found.
-
Lubos Slovak authored
Returning REFUSED to queries for non-authoritative names. Adding EDNS0 OPT RR only when client supports it. Slightly modified log output.
-
- Aug 30, 2010
-
-
Lubos SLovak authored
The case when all zones are tried was not handled.
-
Lubos SLovak authored
Added function zn_all_rrsets() and changed ns_put_answer() to distinguish between ANY and other QTYPEs.
-
- Aug 26, 2010
-
-
Lubos SLovak authored
Queries with no Question entry will get FORMERR as a reply now. Fixed increasing the packet size to consider the OPT record (was increasing it for each question entry).
-
Lubos SLovak authored
-
Lubos SLovak authored
zn_add_referrer_node() - bad checking of return value from da_reserve() (returns positive integer if successfuly resized).
-
Lubos SLovak authored
Zone node now keeps track of other nodes that hold some referrence to it (e.g. through CNAME or additional records). Added function zn_add_referrer() to set referrer for given type. Removed function zn_add_ref_cname() and its functionality merged to zn_add_ref().
-
- Aug 25, 2010
-
-
Lubos SLovak authored
-
Lubos SLovak authored
GLUEs found in authoritative data are extracted, those found in other delegations are ignored (out-of-bailiwick). Adjusting of zone node ends after it finds CNAME or delegation.
-
Lubos SLovak authored
Zone adjustments now add A/AAAA references for SRV records. Nameserver adds these records to Additional section. Modified zone node flags (now 16 bit).
-
- Aug 24, 2010
-
-
Lubos SLovak authored
If EDNS is enabled and the sender supports it, maximum packet size is set to minimum of the sender's and nameserver's EDNS UDP payload. Fixed typo in zn_add_ref_cname().
-
Lubos SLovak authored
Counting truncation while adding RRSets into the packet. Some RRSets are added/omitted as a whole, some per RR (should change later maybe). Using the edns_udp_payload field of the packet to hold maximum allowed size for the packet. Overriding before converting to wire format. RRSets' size is counted by iterating over RRs - this is redundant, we may also copy the RRs in the same time (which would however result in having incomplete RRSets in the response). Setting TC bit when omitting referral NS, glue or anything from Answer section.
-
- Aug 23, 2010
-
-
Lubos SLovak authored
Skip list (skip_destroy_list()) was not freeing the head. Dispatcher (dpt_destroy()) was not freeing routine_obj. Nameserver (ns_destroy()) was not freeing error response. Zone node (zn_destroy()) was not destroying the skip list of additional records. Zone node (zn_add_ref()) was not deleting the created zn_ar_rrsets structure if the value was merged in skip_insert(). Zone database destroying changed to delete zone nodes (because not all zone nodes are in the zone data structure). zds_destroy() modified to have the zone node destructor as param.
-
Lubos SLovak authored
The key of hash table item was deallocated twice - once as the key and once in the zone node (the value). Fixed by adding parameters to ck_destroy_table() and ck_remove_item() which tells if the key and value should be deallocated (in case of value a pointer to destructor is passed). Changes to other files to acommodate this change.
-
- Aug 22, 2010
-
-
Lubos Slovak authored
-
Lubos Slovak authored
-