ok, made a bunch of changes including one that nobody mentioned, but that I was able to see more clearly after a (somewhat) good night's sleep (/etc/sysconfig/network):
/etc/resolv.conf
Code:
nameserver 192.168.5.5
search mydomain.com
/etc/hosts
Code:
127.0.0.1 localhost.localdomain localhost
192.168.5.5 mail.mydomain.com mail
/etc/nsswitch.conf
/etc/sysconfig/network
Code:
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=mail.mydomain.com
DNS1=192.168.5.5
/etc/sysconfig/network-scripts/ifcfg-eth0
Code:
DEVICE=eth0
BOOTPROTO=none
BROADCAST=192.168.5.255
HWADDR=00:1b:fc:f3:34:4c
IPADDR=192.168.5.5
NETMASK=255.255.255.0
NETWORK=192.168.5.0
ONBOOT=yes
GATEWAY=192.168.5.1
TYPE=Ethernet
DNS in the wild:
Quote:
@ NS ns1.domainpeople.com
@ NS ns2.domainpeople.com
@ MX 10 mail.mydomain.com
www CNAME mydomain.com
@ A 76.76.76.76
mail A 76.76.76.76
webmail A 76.76.76.76
|
(this is how the registrar does their DNS management web page)
/etc/named.conf
Code:
options {
directory "var/named";
dump-file "var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
forwarders { 204.244.3.129; 204.244.3.130; };
listen-on { 127.0.0.1; };
allow-transfer { none; };
version "There is no spork.";
};
include "/etc/rndc.key";
zone "mydomain.com" {
type master;
file "mail.mydomain.com.vn";
}; /var/named/mail.mydomain.com.vn
Code:
@ IN SOA mydomain.com. mail.mydomain.com. (
200908190943 ; Serial number
1d ; Refresh
1d ; Retry
4w ; Expire
1h ) ; Minimum cache
; Define the nameservers and the mail servers
IN NS 192.168.5.5
mail IN A 192.168.5.5
IN MX 10 mail.mydomain.com. Now all I get is:
; <<>> DiG 9.3.4-P1 <<>> mail.mydomain.com mx
;; global options: printcmd
;; connection timed out; no servers could be reached
; <<>> DiG 9.3.4-P1 <<>> mydomain.com mx
;; global options: printcmd
;; connection timed out; no servers could be reached
*sigh*