Solved

Domain Name Server DNS

Posted on 1998-01-23
6
241 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
[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
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

739 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