Solved

Linux Router - DNS

Posted on 2004-09-21
8
282 Views
Last Modified: 2013-12-16
I have to setup a datacenter that consist more than 30 pc from internal and external...

I have a satic ip...i have a linux router ( fc ) with 3 network card....i register a free domain from dyndns.org and pointing to my static ip. and if external want to surf to my web server, they will have to go thru my linux router then my linux will point to internal pc which is webserver.

i just install DNS bind-9.2.4rc4.tar.gz to my linux router....but after installing my file in linux , name.conf is empty. What else file in linux is related to my dns setup?..

Some of my friends told me i have to saparate the dns to a single pc to become dns server...i confuse on this...

can i just setup a dns server in my linux router pc?..which is powerfull enough with xeon and 1 gb ddram...

let say my domain name that i register from dyndns is lynx.ath.cx. so my domain is lynx.ath.cx and my hostname is host.lynx.ath.cx

any good solution or any idea?
0
Comment
Question by:megalink
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
8 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 25 total points
ID: 12119699
I think you'll find everything you need in http://www.redhat.com/mirrors/LDP/HOWTO/DNS-HOWTO.html
0
 

Author Comment

by:megalink
ID: 12120305
i need help on the configuration excatly like what do i have and what i planned to do...thanks
0
 

Author Comment

by:megalink
ID: 12120394
currently i use this named.conf

zone "lynx.ath.cx" {

type master;
notify no;

allow-query { any; };
file "lynx.ath.cx";

};

but i got sample of named.conf which for me looks more nicer, but how to match my domain name with scripts?...i cannot run it in services...

// generated by named-bootconf.pl

options {
      directory "/var/named";
      /*
       * If there is a firewall between you and nameservers you want
       * to talk to, you might need to uncomment the query-source
       * directive below.  Previous versions of BIND always asked
       * questions using port 53, but BIND 8.1 uses an unprivileged
       * port by default.
       */
      // query-source address * port 53;
};

//
// a caching only nameserver config
//
controls {
      inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." IN {
      type hint;
      file "named.ca";
};

zone "localhost" IN {
      type master;
      file "localhost.zone";
      allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
      type master;
      file "named.local";
      allow-update { none; };
};

include "/etc/rndc.key";

0
The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

 
LVL 6

Assisted Solution

by:blkline
blkline earned 25 total points
ID: 12128029
This really isn't too difficult but I *HIGHLY* recommend that you read:

http://tldp.org/HOWTO/DNS-HOWTO.html

for once you have, you'll know everything that you need to for your simple setup.

Barry
0
 

Author Comment

by:megalink
ID: 12129458
but in my network area do i need to add a new pc for making it as a DNS server
0
 
LVL 40

Expert Comment

by:jlevie
ID: 12129728
No, not for the size network you've described.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question