Solved

Domain Name Server DNS

Posted on 1998-01-23
6
238 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
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.

 

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

822 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