BIND DNS + Webmin CentOS 5.1

Discussion in 'Server Operation' started by Forgott3n, Jun 19, 2008.

  1. Forgott3n

    Forgott3n New Member

    Hello!

    I installed BIND and configured via Webmin in the following manner:

    Code:
    $ttl 38400
    sohipitmhz.com.	IN	SOA	ns1.sohipitmhz.com. justin\.bull.c3studios.ca. (
    			1213586206
    			10800
    			3600
    			604800
    			38400 )
    
    sohipitmhz.com. IN      NS      ns1.sohipitmhz.com.
    sohipitmhz.com. IN      NS      ns2.sohipitmhz.com.
    
    ns1.sohipitmhz.com.     IN      A       24.80.213.124
    ns2.sohipitmhz.com.     IN      A       24.80.213.124
    
    sohipitmhz.com.	IN	A	24.80.213.124
    
    localhost.sohipitmhz.com.	IN	A	127.0.0.1
    
    sohipitmhz.com.	IN	MX	0	sohipitmhz.com.
    
    www	IN	CNAME	sohipitmhz.com.
    mail	IN	CNAME	sohipitmhz.com.
    bullbox	IN	A	24.80.213.124
    and

    Code:
    options {
    	directory "/etc";
    	pid-file "/var/run/named/named.pid";
    	};
    
    zone "." {
    	type hint;
    	file "/etc/db.cache";
    	};
    
    zone "sohipitmhz.com" {
    	type master;
    	file "/var/named/sohipitmhz.com.hosts";
    	};
    
    I have BIND running with chroot (/var/named/chroot/) and LAMP. The Postfix hasn't been properly configured yet.

    Here are the details:

    Hostname: bullbox.sohipitmhz.com
    IP Address: 24.80.213.124
    Domain: sohipitmhz.com


    So for some reason it doesn't work! Am I missing something in my configuration? Both nameservers are the same box.

    Thank you!
     
  2. falko

    falko Super Moderator ISPConfig Developer

  3. Forgott3n

    Forgott3n New Member

    So the modified configuration would look like this?

    Code:
    $ttl 38400
    sohipitmhz.com.	IN	SOA	ns1.sohipitmhz.com. justin\.bull.c3studios.ca. (
    			1213586206
    			10800
    			3600
    			604800
    			38400 )
    
    sohipitmhz.com. IN      NS      ns1.sohipitmhz.com.
    sohipitmhz.com. IN      NS      ns2.sohipitmhz.com.
    
    ns1.sohipitmhz.com.     IN      A       24.80.213.124
    ns2.sohipitmhz.com.     IN      A       24.80.213.124
    
    sohipitmhz.com.	IN	A	24.80.213.124
    
    localhost.sohipitmhz.com.	IN	A	127.0.0.1
    
    sohipitmhz.com.	IN	MX	0	sohipitmhz.com.
    
    www	IN	CNAME	sohipitmhz.com.
    mail	IN	CNAME	sohipitmhz.com.
    bullbox	IN	A	24.80.213.124
    [b]ns1	IN	A	192.168.1.133	// LAN IP
    ns2	IN	A	192.168.1.133	// LAN IP[/b] 
    
    Sorry, searching for definitive instructions of glue records has turned up mixed results.
     
    Last edited: Jun 20, 2008
  4. falko

    falko Super Moderator ISPConfig Developer

    No, you must ask your registrar to set up glue records for your domain. That's nothing you can do yourself.
     

Share This Page