How to set up a home DNS server
Hi folks,
Please I need urgent help. I have a home network which has 5 pcs and I have linux DNS server which should resolves the private pcs requests for internal requests. If the request is outside (to the internet), my home DNS server should asks for help from my ISP DNS server which has the IP 192.168.0.1. My domain name could be "jefn.com". Now, how can I setup my DNS server ? I do not know how to do? BTW, I use Scientific Linux which may have different commands .... Thanks in advance, Jef |
Google Bind9 tutorials.
And no, it's not urgent, we are volunteering our time for you, not being paid. |
Please do not post duplicate threads---what you needed to do in this case was to simply change the title of your other thread.
I've reported you first thread for closure---and we'll keep this one (with the good title) Good Luck and Welcome!! |
please
Quote:
secondly, please, I didn't post it to say "it is not urgent or". if you can help, i will be thankful but even the forums are not for useless replies like yours. So, let others participate who really wanna share with and help others. The reason why I put it urgent is that I have an assignment which needs DNS server setup and I haven't done it before and there is a deadline and I cannot start doing the assignment unless the network is ready..... |
sorry
Quote:
|
Quote:
(in this case discussing titles rather than the body of the text, but the same factors apply, even if to a lesser extent Quote:
Quote:
Quote:
|
All urgency aside, I'll be happy to help.
Quote:
From your description I suspect you don't really need a DNS server. You can share your internet connection with all your PC's and they can all talk to each other using a simple hub connected between your hardware router and the internet or your web server. Internet->Router->8 port hub->PC's Enable DHCP in the router and off you go... Take a peek here: http://www.trbailey.net/tech/iptables.html for more information if you really need a DHCP server. -Tom |
Quote:
Hey, man. I'm new to linux and I haven't ever worked with.... if you are an expert in linux, please don't underestimate others. I am only 18 years old and I still learn as all people learn new things in their life.... regarding the assignment, this is not an assignment, my assignment depends on this ... so if i setup this network, i start doing my assignments... REMEMBER: THESE FORUMS DO NOT ASK YOU TO TEACH OTHER HOW TO BEHAVE, THEY ASK YOU TO SHARE IDEAS, SO PLEASE KEEP IT TO YOURSELF. |
Quote:
Yes, you are true, 192.168.0.1 is not my ISP DNS, it is my wireless router. I need how to setup a home DNS server with scientific linux. what files should I modify .... because I searched in google and I found alot of files should be modified and then i got lost especially with some Linux OSs that differ from S.Linux... again, thanks my friend for your help. |
Quote:
I found this reference to "Scientific Linux" so I'll assume its' what you are using: Quote:
I noticed SF has mailing lists. Being a custom install I would ask in the mailing list first. It might get you working faster. There are numerous tools that can make the job of configuring a DNS server much faster. You can probably install Webmin and have a better view of the overall DNS server options. To install Webmin download the latest RPM and install it, then follow the instructions for logging in through a web browser. Code:
From the Webmin site, this RPM will probably work. -Tom |
jefn,
My two cents here. 1) Is your IP is Static / Dynamic (Real Ip which is used to connect Internet, not your adl router internal Ip which will start with 192.xxx.xxx.xxx) 2) If it is Static, you need to install 3 rpm packages (bind, bind-utils, caching-nameserver and bind-chroot). bind-chroot is needed only when you are using a distribution based on RHEL4 or later. 2a) The mail config file is named.cond ( location /etc/named.cond or /var/named/chroot/etc/named.conf depends on your RPM). 2b) Edit named.conf to configure your forward and/or reverse lookup zones 2c)read man pages about bind, caching-nameserver. If you dont know dns jargon like forward zone, reverse zone, PTR, A, MX, NS, dns master, dns slave, dns cache ... etc try to learn them (google search) 3) If your Ip is dynamic, get a dynamic dns subscription from a dns provider. Some are free and some are chargeable. If you learn dns and if you can say you can configure dns server, You know almost 25% of internet technologies. My humble request : Any online community will have its rules, dos and don'ts. Every successful community is a mixture of experts and beginners. Please try to follow the rules of a community like this. |
Quote:
Thanks my friend ......... |
Quote:
|
Once again. For an internal network you don't need a DNS server. DNS is really only necessary for a server that represents additional SERVERS like an ISP that sells web accounts, not a peer to peer network. If you only have 5 local computers just use the /etc/hosts file. Example below:
Quote:
If this installation is based on Fedora or RHEL and it has a desktop, it probably already has a DNS server installed. You might check out Avahi or even Samba if you need windows connectivity. If you'll describe the network layout we can help you better. Example: I a have a web server at ip: 202.xxx.xxx.xxx The web server has two NIC's installed. NIC one is eth0 on 202.xxx.xxx.xxx.xxx NIC two is eth1 on 192.168.1.1 configured as a gateway I have ipv4 forwarding enabled in /etc/sysctl I am using IPTables to NAT 5 internal computers Here is the problem: yada yada yada... -Tom |
Perhaps this will help http://www.linuxhomenetworking.com/w...onfiguring_DNS
|
All times are GMT -5. The time now is 08:32 PM. |