نوشته اصلی توسط
ris1354
با سلام
دوستان من ميخوام dns تحت لينوكس نصب كنم اما نمي دونم از كجا شروع كنم البته من لينوكس فدورا نصب كردم.
يه توضيح مختصر
من الان dns را روي ويندوز دارم در واقع dns و cache من روي يك كامپيوتر است كه اين كامپيوتر داراي دو كارت شبكه
است كه هر دو اي پي وليد دارن(ما نت كرديم و الان از isa استفاده مي كنيم ).
با اين تفاسير كه عرض كردم الان squid نصب و فقط مونده dns .مي خام اين سيستم هم cache و همdns با همون دوتا كارت شبكه باشه .
ممنون ميشم اگه راهنمايي كنيد
1. Download the bind RPM (or may be already installed)
2. move to the folder where you have place the downloaded RPM (DNS) and run the following commands:
3. $ rpm -Uvh bind-version.i386.rpm
4. $ chkconfig --level 35 named on (will start bind automatically)
5. You can also start and stop bind as:
6. $ /etc/rc.d/init.d/named start (stop, restart, status) (or use this command for finding named.conf : $locate named.conf ) then continue
7. gedit /etc/named.conf (configuration File)fill the file according to your own requrements. (use any available test editor instead of gedit)
after making the changes in /etc/named.conf restart the dns as
/etc/rc.d/init.d/named restart or /etc/init.d/named restart
8: Now configure your clients to use the DNS server (just give the IP address of you DNS Server in Primary DNS name field)
Testing:
$ ping mydomainnam
if u receive message like Reply form yourdomain.com then it is ok
or use
$ nslookup acomputerName
if you receive the computerName.domainName and the ip address of computer, then u are done.
Good Luck
Reference:
http://www.google.com