Solved

Linux Router - DNS

Posted on 2004-09-21
8
263 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
Comment Utility
I think you'll find everything you need in http://www.redhat.com/mirrors/LDP/HOWTO/DNS-HOWTO.html
0
 

Author Comment

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

Author Comment

by:megalink
Comment Utility
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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 6

Assisted Solution

by:blkline
blkline earned 25 total points
Comment Utility
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
Comment Utility
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
Comment Utility
No, not for the size network you've described.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

771 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

10 Experts available now in Live!

Get 1:1 Help Now