The tests run local simplified DNS server. There is lot of repetitive code and most of the logic there is preparing DNS server and responses. Also, the "server" is not a real server and it doesn't always behave correctly (e.g. it can return values not exacly for requested host).
The logic should be improved, repetitive code removed.
The tests run local simplified DNS server. There is lot of repetitive code and most of the logic there is preparing DNS server and responses. Also, the "server" is not a real server and it doesn't always behave correctly (e.g. it can return values not exacly for requested host).
The logic should be improved, repetitive code removed.