View Single Post
  #2 (permalink)  
Old 05-08-2007, 03:23 PM
robharpham robharpham is offline
New Member
 
Posts: 3
Default

here are my configs if this helps

/etc/hosts
Quote:
127.0.0.1 localhost.localdomain localhost
192.168.42.6 email.celroofing.co.uk email
/etc/named.conf
Quote:
// Default named.conf generated by install of bind-9.2.4-2
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
forwarders {
192.168.42.6;
212.104.130.9;
};
};
include "/etc/rndc.key";
// We are the master server for email.celroofing.co.uk
zone "email.celroofing.co.uk" {
type master;
file "db.email.celroofing.co.uk";
};
/var/named/db.email.celroofing.co.uk
Quote:
;
; Addresses and other host information.
;
@ IN SOA email.celroofing.co.uk. hostmaster.email.celroofing.co.uk. (
10120
43200
3600
3600000
2592000 )
; Define the nameservers and the mail servers
IN NS 192.168.42.6
IN A 192.168.42.6
IN MX 10 email.celroofing.co.uk.
dig email.celroofing.co.uk
Quote:
; <<>> DiG 9.3.4 <<>> email.celroofing.co.uk
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10354
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;email.celroofing.co.uk. IN A

;; ANSWER SECTION:
email.celroofing.co.uk. 2592000 IN A 192.168.42.6

;; AUTHORITY SECTION:
email.celroofing.co.uk. 2592000 IN NS 192.168.42.6.email.celroofing.co.uk.

;; Query time: 0 msec
;; SERVER: 192.168.42.6#53(192.168.42.6)
;; WHEN: Tue May 8 23:23:40 2007
;; MSG SIZE rcvd: 83
Reply With Quote