LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   DNS Config forwardzone and reversezone fie (https://www.linuxquestions.org/questions/linux-newbie-8/dns-config-forwardzone-and-reversezone-fie-4175492283/)

senthilcaesar 01-23-2014 05:51 AM

DNS Config forwardzone and reversezone fie
 
Hi All,

This is the first time am configuring DNS in RHEL6
Hostname: linuxserver.example.local
Host IP : 192.168.1.2/24

vim /etc/named.conf
options {
directory "/var/named";
};
zone "example.local" IN {
type master;
file "forward.zone";
};
zone "1.168.192.in-addr.arpa" IN {
type master;
file "reverse.zone";
};

Am hosting a website named www.kavin.com .
Now could anyone pls guide me how do i edit the forward.zone and reverse.zone file to make my website entry and host entry.

Gad 01-24-2014 01:46 AM

Good day,

From what is seems, you will never be able to host DNS using a private "local" server.

You need at least 2 public DNS server IP addresses whether its a physical or a virtual is entirely up to you to act as a lookup for www.kavin.com.

Master and a Slave

You may want to look into www.dnsstuff.com

JJJCR 01-24-2014 02:12 AM

As mariose suggested, you need to have:

- Public IP
- A registered domain (i think you have one already)
- BIND DNS Server configured on your box
- Others.. which I can't think of

Just curious why need to host your own DNS server, let your ISP manage it..

SAbhi 01-24-2014 02:12 AM

I always find these one discriptive and informative:

http://www.tldp.org/LDP/lame/LAME/li...me-server.html
http://www.linuxhomenetworking.com/w...onfiguring_DNS

senthilcaesar 01-24-2014 03:27 AM

Thanks to all for taking time and responding . This is really helpfull


All times are GMT -5. The time now is 01:58 PM.