LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   DNS configuration problem (https://www.linuxquestions.org/questions/linux-networking-3/dns-configuration-problem-162588/)

asimpeter 03-26-2004 07:18 AM

DNS configuration problem
 
Hi,
I'm newbie to linux trying to configure basic DNS server for my two linux machines. One contains redhat 7.3 other contain fedora. I'm installing DNS server at fedora machine.Here is the configuration:

RedHat7.3:
/etc/hosts contains the entry:
192.168.1.65 PC-7 PC-7.emtech.com ravi

Fedora:
/etc/hosts contains the entry:
192.168.1.65 PC-8 PC-8.emtech.com atif

/etc/named.conf contains the entry:
zone "emtech.com" {
type master;
notify no;
allow-query { any; };
file "emtech.zone";
allow-update { none; };
};

But the emtech.zone file is not being created in /var/named. The /var/log/messages file gives this:
"zone emtech/IN: loading master file emtech.zone: file not found"

Can anyone please guide me where am I wrong? and how can I make sure/check my DNS server is configured and running correctly?

Thanks for your valuable time you spent on helping me.

Peter

maxut 03-26-2004 10:11 AM

your trouble is that fedora doesnt check your zone files under /var/named folder.
it checks the subfolders in /var/named/.. there must be some subfolders like etc var.. i managed to run named in fedora but i cannot remember clearly how i did that. as i remeber i used the config file in /var/named/etc/.. sorry i cannot help u much.


All times are GMT -5. The time now is 12:05 AM.