Practically rewrite dnshook
authorDimitris Aragiorgis <dimara@grnet.gr>
Sat, 7 Dec 2013 13:22:07 +0000 (15:22 +0200)
committerDimitris Aragiorgis <dimara@grnet.gr>
Sat, 7 Dec 2013 14:42:49 +0000 (16:42 +0200)
commitad5c908af84a279df0b4809ededcd253e3350648
treef3adaefd1cbf23d7e052e1d8ef73b1a1cbf0843c
parentc7006a9f994b7349ed742e28918da37087a36cf7
Practically rewrite dnshook

Make it more readable.

Introduce specific methods for getting reverse dns info of an IPv4
or eui64.

Parse every nic info and check for DNS_FLAG network flag

Do not explicitly pass zone statement to nsupdate. Let it determine
the correct zone to update based on the rest of the input.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
dnshook
fix-net