I configured DNS server and able to resolve ip to doamin and domain to ip in terminal. If am trying to resolve domain name over browser that is also working but i want to open my website via ip but instead ip " domain name " should come in link .

how it could be done through DNS ??

  • 1
    Just to be clear, you're saying you want to type your site's IP address into your browser's address bar and have it switch to showing your site's domain name? – Twisty Impersonator Jun 28 '18 at 11:00

This cannot be done through DNS: When you type in the browser, the browser uses the IP address directly, DNS is not involved.

However, you can lookup DNS information by IP address with the right tools from the command line, if this information has been entered in the DNS server. The keyword is "reverse DNS lookup", google. There are also webpages that offer this service, but none of them can replace your link automatically.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.