I understand resolv.conf
file is used by Linux to resolve DNS lookup but I cant figure if I need to edit this file in my case.
My Scenario:
I am not hosting the DNS on my vps machine. I have purchase Godaddy Premium DNS Service to set my A Records, mx etc.. My vps is only used to host 1 website where Nginx handles all incoming requests.
My Questions:
1) In my case where I am using Godaddy DNS service, do I still need to add the Nameserver resolution in resolv.conf
file? Or does resolv.conf only applies if I am hosting my own DNS on my machine using BIND or something else?
2) The current resolv.conf file looks like this. In the ip address, does it mean I have to enter the Godaddy Nameserver's ip address here?
nameserver 123.00.00.123 <-- Is this Godaddy NS Ip address?
3) Which services uses this resolv.conf? I mean does Nginx, Postfix or ssh refer to the configuration in this file at all?
I've set everything else up and only now I came across resolv.conf
by accident and I dont know if my set-up is incomplete without this info. Can someone help me understand this please?