Hey Guys. I am hoping you can help me.
I need a function to validate that a domain name is in fact a domain name.
However, it cannot get the A record as this may be a domain name which isnt configured yet, all it needs to check is that the domain name is not malformed. So the domain is something.co.uk or something.com - can anyone point me in the right direction to check this?
I have been Googling it but there seems to be so much info that contradicts each other, im a little confused!