[ajey] refactored and added cname record
[ajey] added pointers