Solved

Domain Name Server DNS

Posted on 1998-01-23
6
236 Views
Last Modified: 2010-08-05
How do I make a domain name server in linux !!

What do I use , How do i configure it ??

How do i confiure a linux box as primary domain server and one as a secondary domain server ??
0
Comment
Question by:superfranco
6 Comments
 

Accepted Solution

by:
six012498 earned 100 total points
ID: 1587429
Get the DNS-HOWTO, it's probably already on your machine located at
/usr/doc/HOWTO/DNS-HOWTO.gz
simply type
zcat /usr/doc/HOWTO/DNS-HOWTO.gz | less
and you should be well on your way.

0
 
LVL 1

Author Comment

by:superfranco
ID: 1587430
Ok great thanx, i got that !! seen that i am very generous with my points could you also tell me how to connect a linux network to the internet using a modem seen that the ip is given dynamically upon connection, therefore i neet to get linux to see the new ip address !!


0
 
LVL 1

Author Comment

by:superfranco
ID: 1587431
I will give you some points, just tell me some mote about connecting Linux with a modem !
0
What Is Threat Intelligence?

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

 

Expert Comment

by:dps96r
ID: 1587432
Most linux DNS servers use BIND originally from the BSD people. The
latest is avialabke fomr the Internet software consortium. I
recommend BIND v8 because it is being developed. You porbably have
BIND v4 (what most people use).

Eiher way the DNS database files are the same, I could send you a
named.conf (bind v8 style config file) from a server I know (not sure
that named.boot still exists on that machine). Basically for primaries need the information and seconaries need to know the IP numbers of a primary to ask. Globally vsible domains need pointers from other places by registering the domain with the appropiate people (usually InterNic (.com and .org at least) or nominet (uk domains). A charge applies.
0
 

Expert Comment

by:xRain
ID: 1587433
Lets presume u use 192.168.0.1 as an IP address for your linux maschine.
Then /etc/named.boot will look in this way:
--------------------------------------------
directory /var/named ;the directory where bind files are
cache . root.cache ;Internet root DNS servers (dig > root.cache)
primary foo.ru  foo.hosts
primary 0.168.192.in-addr.arpa foo.rev
primary 0.0.127.in-addr.arpa local.rev
--------------------------------------------
/var/named/foo.hosts
--------------------------------------------
@ in soa foo.ru. root.foo.ru. (
                 144 ;Serial
                 21600 ; Refersh
                 1200  ; Retry
                 360000 ; Expire
                 432000 ) ; Minimum TTL
          in ns foo.ru.
          in a  192.168.0.1
          in mx 10 foo.ru.
localhost in a 127.0.0.1
ftp       in a 192.168.0.2
--------------------------------------------
[/var/named/foo.rev]
--------------------------------------------
@ in soa foo.ru. root.foo.ru. (
                 144 ;Serial
                 21600 ; Refersh
                 1200  ; Retry
                 360000 ; Expire
                 432000 ) ; Minimum TTL    
         in ns foo.ru.
1        in ptr foo.ru.
2        in ptr ftp.foo.ru.
--------------------------------------------
[/var/named/local.rev]
--------------------------------------------
@ in soa foo.ru. root.foo.ru. (
                 144 ;Serial
                 21600 ; Refersh
                 1200  ; Retry
                 360000 ; Expire
                 432000 ; Minimum TTL
         in ns foo.ru.
1        in ptr foo.ru.
-------------------------------------------
0
 
LVL 1

Expert Comment

by:dirge
ID: 1587434
Check the PPP-HOWTO. There's an online copy at

http://www.infomagic.com/linux/ldp/HOWTO/PPP-HOWTO.html

See section 23 for info on working with/accessing the IP address.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

705 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