Domain Name Server DNS

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 ??
LVL 1
superfrancoIS ManagerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

six012498Commented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
superfrancoIS ManagerAuthor Commented:
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
superfrancoIS ManagerAuthor Commented:
I will give you some points, just tell me some mote about connecting Linux with a modem !
0
OWASP: Avoiding Hacker Tricks

Learn to build secure applications from the mindset of the hacker and avoid being exploited.

dps96rCommented:
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
xRainCommented:
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
dirgeCommented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.