LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-16-2003, 08:47 AM   #1
macadam
Member
 
Registered: Sep 2003
Posts: 72

Rep: Reputation: 15
Unhappy Configuring Bind DNS via Webmin


Hi

I am a real newbie in DNS. I have a domain name and I would like to run my own DNS server (got 4 fixed IPs) using BIND DNS.
I don't know where to start!
Can someone help me?

Thanks
 
Old 09-16-2003, 08:40 PM   #2
joseph
Member
 
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
Actually i never tried to configuring DNS via webmin but if you want, i can give you my configuration file in terminal.

How about that?
 
Old 09-17-2003, 01:11 AM   #3
macadam
Member
 
Registered: Sep 2003
Posts: 72

Original Poster
Rep: Reputation: 15
Hi Joseph,

It would be great also!

Thanks!
 
Old 09-17-2003, 02:10 AM   #4
joseph
Member
 
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
Hi macadam,

Here it is:


/etc/named.conf :

options {
directory "/var/named";
pid-file "/var/run/named/named.pid";
auth-nxdomain yes;
};
zone "." {
type hint;
file "named.ca";
};
zone "0.0.127.in-addr.arpa" {
type master;
file "named.local";
};
zone "mydomain.com" {
type master;
file "mydomain.com.zone";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "1.168.192.in-addr.arpa ";
};



/var/named/named.local :
$TTL 3D
@ IN SOA ns.mydomain.com. postmaster.mydomain.com. (
1 ; Serial
8H ; Refresh
2H ; Retry
4W ; Expire
1D) ; Minimum TTL
NS ns.mydomain.com.
1 PTR localhost.


/var/named/ mydomain.com.zone

$TTL 3D
@ IN SOA ns.mydomain.com. postmaster.mydomain.com. (
20030917 ; serial, todays date + todays serial #
8H ; refresh, seconds
2H ; retry, seconds
4W ; expire, seconds
1D ) ; minimum, seconds
;
NS ns ; Inet Address of name server
MX 10 mail.mydomian.com.

localhost A 127.0.0.1
ns A 192.168.196.2
mail A 192.168.196.4

/var/named/1.168.192.in-addr.arpa

$TTL 3D
@ IN SOA ns.mydomain.com. postmaster.mydomain.com. (
20030917 ; Serial, todays date + todays serial
8H ; Refresh
2H ; Retry
4W ; Expire
1D) ; Minimum TTL
NS ns.mydomain.com.

1 PTR gw.mydomain.com.
2 PTR ns.mydomain.com.
3 PTR mail.mydomain.com.
4 PTR ftp.mydomain.com.


For named.ca file, you will get that file when you installed the bind package.
Do some changes for your needs. If you met any problem, do let me know, I will try to help you although I am not an expert.

Last edited by joseph; 09-17-2003 at 02:11 AM.
 
Old 09-17-2003, 02:21 AM   #5
macadam
Member
 
Registered: Sep 2003
Posts: 72

Original Poster
Rep: Reputation: 15
Thanks a lot...
I will try to do that asap

macadam
 
  


Reply



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
BIND-DNS with Webmin problem baz2 Linux - Networking 1 10-18-2004 01:43 PM
webmin bind configuration problems sonomarik Linux - Newbie 0 04-02-2004 12:23 PM
Use webmin config bind problem on RH AS 3.0 exper Linux - Software 3 02-20-2004 09:00 AM
bind dns using webmin m61 Linux - Networking 1 01-16-2004 02:33 PM
How to bind IPs using webmin? swijaya0101 Linux - Newbie 0 05-25-2003 11:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:13 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
Open Source Consulting | Domain Registration