Added domain record functionalities

That is one extra item crossed off the list :wink: 
What about to use `switch` instead ? :)