Solved

Linux Router - DNS

Posted on 2004-09-21
8
266 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
  • 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now