Vitaliy Filippov
c03be448e0
Send empty replies to AAAA requests
...
In conformance with https://tools.ietf.org/html/rfc4074 # Expected Behavior
2020-01-23 18:43:32 +03:00
Vitaliy Filippov
57dfab11eb
Enable TCP by default and add option to disable it
2020-01-22 13:50:25 +03:00
Justin Riley
f71b8080cc
daemon: sync with opennebula on defined interval
...
- Added --sync-interval option that defaults to 5 minutes
2016-10-21 00:30:39 -04:00
Justin Riley
f9554f7f79
resolver: remove unused future print import
2016-10-06 00:29:49 -04:00
Justin Riley
a7051e0689
server: build new zone and replace live copy in sync
...
Instead of clearing the live zone and iterating through and adding
records from OpenNebula we build an entirely new zone, sync it with
OpenNebula, and instantaneously swap it with the currently live zone.
This minimizes the amount of time that the DNS server is missing entries
while its syncing with OpenNebula.
2016-09-28 11:16:31 -04:00
Justin Riley
3a07adba10
resolver: add zone kwarg to {add,remove}_host methods
2016-09-28 11:07:12 -04:00
Justin Riley
b735c84a04
resolver: add thread mutex and use new zone module
2016-08-17 16:21:05 -04:00
Justin Riley
6892508b9e
resolver: add zone kwarg to add_host
...
This will allow OneDNS.sync to build a new zone and instantly swap it
with the currently active zone to minimize downtime.
2016-08-12 11:13:50 -04:00
Justin Riley
ec8c1902ab
move get_fqdn to onedns.utils module
2016-08-12 11:12:11 -04:00
Justin Riley
e6a1724251
fix flake8 failures
2016-08-03 11:45:57 -04:00
Justin Riley
c1a6d81157
add daemon method to DynamicResolver
...
Keeps main process up indefinitely as long as DynamicResolver UDP
socketserver is up
2016-08-02 13:29:30 -04:00
Justin Riley
12a2a46f14
move server.py -> resolver.py
2016-08-02 12:39:02 -04:00