Solved

Domain Name Server DNS

Posted on 1998-01-23
6
237 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
Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

 

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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

895 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

18 Experts available now in Live!

Get 1:1 Help Now