add basic dns function thingies
Merge pull request #323 from zuzak/dns

DNS functionality