I don't fully understand this.
Quote:
|
2. Edit the /etc/named.conf file. (Substitute your fully-qualified server name for server.example.com in all cases, and if named runs in a chroot'ed directory /var/named/chroot, named.conf should be placed in /etc/named/chroot/etc/named.conf and you should create a symbolic link to /etc/named.conf.)
|
Does it want me to create named.conf in /var/named/chroot/etc/ ?
Because /var/named/chroot/etc/named/chroot doesn't exist.
I'm about to create the named.conf
Please correct me if I'm wrong, I don't know if it should be "mail.rebelfighter.no-ip.com" or just plain "rebelfighter.no-ip.com"
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 { 208.67.222.222; 208.67.220.220; };
};
include "/etc/rndc.key";
// We are the master server for mail.rebelfighter.no-ip.com
zone "mail.rebelfighter.no-ip.com" {
type master;
file "mail.rebelfighter.no-ip.com.zone";
};
|
The mail.rebelfighter.no-ip.com.zone
I think its missing the TTL entry.
Quote:
;
; Addresses and other host information.
;
@ IN SOA mail.rebelfighter.no-ip.com. admin.mail.rebelfighter.no-ip.com (
10118 ; Serial
43200 ; Refresh
3600 ; Retry
3600000 ; Expire
2592000 ) ; Minimum
; Define the nameservers and the mail servers
IN NS 192.168.0.131
IN A 192.168.0.131
IN MX 10 mail.rebelfighter.no-ip.com
|
/etc/hosts
This is the unmodified file:
Quote:
#Do not remove the following line, or various programs
#that require network functionality will fail.
127.0.0.1 mail.rebelfighter.no-ip.com mail
localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
|
Not sure if I put my external or internal IP address. I will assume internal.
Changes
Quote:
#Do not remove the following line, or various programs
#that require network functionality will fail.
127.0.0.1 mail.rebelfighter.no-ip.com mail
192.168.0.131 mail.rebelfighter.no-ip.com
localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
|