DNS Overview
DNS is the Domain Naming Service on port 53 on TCP and UDP it provides the service that allows us not to have to remember many IP combinations to visit websites or connect to
hosts. For example, when you go to North Green Security's website, northgreensecurity.com you are actually connecting to: 82.163.20.23.
DNS allows users to use domain names and connects it back to the underlying IP address.
Setting Up DNS
There will be occasions where will we need DNS to work on a local network so hostnames can be translated to IP addresses.
To modify the DNS on a Linux host the file resolv.conf within the following directory:
· /etc/resolv.conf
The structure of the entries within resolv.conf must be the following;
· Nameserver <dns server IP>
· Nameserver 1.1.1.1