Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, please where are located DNS files on various linux distributions? Mainly im interested in CentOS (RedHat) and Ubuntu (Debian). I mean i will be changing IPs and i have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User postcd's Avatar
    Join Date
    Apr 2011
    Posts
    308

    DNS files, where are located, pathes ?


    Hello, please where are located DNS files on various linux distributions?
    Mainly im interested in CentOS (RedHat) and Ubuntu (Debian).

    I mean i will be changing IPs and i have registered nameservers on my domain registar and it points to OLD IP, so i need to know in which files to edit on various distros.. ?

    After move, i assume i need to change IP in domain registar (or reduce some TTL?), then edit DNS files on my server, and there comes my question...
    "Avoid the Gates of Hell. Use Linux affordable VPS."

  2. #2
    Linux Engineer docbop's Avatar
    Join Date
    Nov 2009
    Location
    Woodshed, CA
    Posts
    902
    The Unix's I've used the /etc/resolv.conf contained the IP's of the DNS servers.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •