Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have recently installed Fedora on a Dell 8200. I used The Perfect Setup as a quide for installation.
My question concerns DNS. If you refer to the link above (page 2) you will see the section where you are to enter the Primary and Secondary DNS. I understand what DNS is and how it works, but what DNS servers need to be entered here. I use Zoneedit.com for the DNS of my registered domain name of my website stored on this machine, but where do these DNS servers fall into place? Should I enter my router DNS address? or, are they just for the naming system of my local network? If so, why did these instructions want me to enter these IP addresses? It is a little confusing to me; could someone explain this to me?
those should be the DNS server you want your own desktop to use to lookup names....usually your own ISP's.
However, in my personel setup, my DNS server is my router, which then uses my ISP's DNS.
However2, my ISP's DNS servers suck, so i use 4.2.2.1 and 4.2.2.2....I "believe" it is OK to use these....they resolve to be GTE servers and noone has complained to me so far.
To clarify...let me create a scenario to help me understand.
From my new server (Fedora), if I ping say, "WS1", what DNS does it look at first? or, if I entered the DNS IP of my router in the Fedora setup, would it look there first, and if not found, would it direct the request to the DNS server setup in my router to my ISP?
Originally posted by ctroyp To clarify...let me create a scenario to help me understand.
From my new server (Fedora), if I ping say, "WS1", what DNS does it look at first? or, if I entered the DNS IP of my router in the Fedora setup, would it look there first, and if not found, would it direct the request to the DNS server setup in my router to my ISP?
if you set it for your router IP, i think it would first "look" there, meaning your router probably then asks your ISP's dns server. if it can't find anything there, it goes to the secondary one, etc. you can put as many as you want in the /etc/resolv.conf.
if you have specific domains you want it to always assume, you can add those in the "search" parameter after the nameserver, e.g.:
that lets you ping (or contact, access, etc.) anything on mydomain.net just by the hostname because it assumes the FQDN (e.g., if WS1 were a host on mydomain.net, just doing "ping WS1" would work).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.