LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-19-2008, 04:44 AM   #1
zeynep
Member
 
Registered: Jan 2008
Posts: 34
Blog Entries: 1

Rep: Reputation: 15
dns configuration


hello,
i downloaded bind and bind-chroot packets.

Now, i would like to configure and make my own server.

But i am using dynamic ip.Examples given generally based on static ip.

May somebody explain me how to configure ?

Thank you.
 
Old 02-19-2008, 05:10 AM   #2
megerdin
Member
 
Registered: Jul 2007
Location: London
Distribution: FC11,FC10,FC7,FC4,Centos 5.1,Ubuntu,Mandrake Linux,puppy.LinuxMint.Opensuse
Posts: 181

Rep: Reputation: 31
Only 3 steps Easy way.

DNS with system-config-bind:
To configure the DNS server, login or become root and run the command
Code:
Quote:
root#system-config-bind
If it cannot find the command, you will have to install the package
Code:
Quote:
root#yum install system-config-bind
Then start defining your zones. You will need both a foward zone to resolve host names to IP addresses and a reverse zone to resolve IP addresses to hostnames.

01. Forward zone:
To create a new forward zone,
just click on the "New" icon and choose "Zone" from the menu. For the forward zone, choose the option for "IN Internet" type, then "Forward". Enter your domain name followed by a period (ie. mydomain.com.) and choose Master for the zone type. That will make it to where your DNS is authoritative for your domain name.


02. Reverse Zone:
After that, create the IPv4 reverse zone.
Again click on the "New" icon and choose "Zone". Click OK for "IN Internet" then choose "IPv4 Reverse" for the origin type. In the box that appears, type the first octet of your static IP address (the 192 in 192.168.1.1) then click Add. Repeat that for the next two octets. For Zone type, choose "Master" again and click OK.

03.Adding hosts to the server:

To do this, right click on the forward zone name and choose the type of record you want to add. Each host should get an "A" record if you want users to be able to resolve their name using the DNS server. Enter the requested information in the window that appears. Ensure the option to "Create a reverse mapping" is selected and click ok. Once you have all of your entries done, click the "Save" icon to save our configuration and then exit the program. The named daemon will restart automatically and reload your new configuration.

You will also need someone to host you domain name on a server for you. Your ISP might be able to do this for you, if not dyndns.org can - for a small fee. I have been using them for years without a problem. There are others out there though. What they do is point DNS queries for your domain to your DNS server.

Hope this helps. If you don't want to use the GUI as I described above, there is always the manual way, but I will let someone explain that.



Note: This is for FC so u should change as per as ur req.

What r u doing let us know.
 
Old 02-19-2008, 05:17 AM   #3
zeynep
Member
 
Registered: Jan 2008
Posts: 34

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Thank you for respond,

but i would like to configure from the terminals as writing commands.

Can you give me example for dynamic ip dns configuration?
 
Old 02-19-2008, 05:25 AM   #4
megerdin
Member
 
Registered: Jul 2007
Location: London
Distribution: FC11,FC10,FC7,FC4,Centos 5.1,Ubuntu,Mandrake Linux,puppy.LinuxMint.Opensuse
Posts: 181

Rep: Reputation: 31
This may help u.

http://alex.kruijff.org/FreeBSD/Dynamic_DNS.html
 
Old 02-20-2008, 11:34 AM   #5
zeynep
Member
 
Registered: Jan 2008
Posts: 34

Original Poster
Blog Entries: 1

Rep: Reputation: 15
i mixed and couldnt understand unfortunately.

I caz wanna learn how to configure named.conf, resolv.conf and zone

then i would like to test with nslookup command. With dynamic ip.

May somebody explain me.

Thank you
 
Old 02-20-2008, 01:45 PM   #6
crebralfix
LQ Newbie
 
Registered: Jul 2007
Posts: 6

Rep: Reputation: 0
Read DNS & Bind by Liu and Albitz. Chapter 4 has everything you need.

Your name servers will need static IPs; those are defined when you register the domain.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS configuration immortaltechnique Red Hat 7 02-01-2013 08:46 AM
DNS configuration tsaravan Linux - Newbie 1 11-10-2007 10:59 PM
DNS Configuration skecs Linux - Networking 10 11-17-2004 08:31 AM
DNS Configuration romel Linux - Newbie 4 09-22-2003 09:45 AM
DNS Configuration doulos Linux - General 1 02-15-2002 02:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration