Hey everyone, new Virtualmin user here.
I am trying to set up a new dedicated server instance wrapped up with Virtualmin, and the software looks great, but I am having some strange issues that don’t seem to make a lot of sense.
So here is the series of steps that I am going through here.
-
let’s take a domain that I own, registered at godaddy. At godaddy, i changed my configuration to create ns1 and ns2 for the new server that I have (pointed them at the proper ips). Then i changed my domain to use ns1 and ns2 as my new name servers.
-
installed a new centos 5 and webmin and virtualmin on the new host. Install finished properly.
-
I can re-check my install as I need and. . . .
Checking Configuration
The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active …
BIND DNS server is installed, and the system is configured to use it.
Mail server Postfix is installed and configured.
Apache is installed.
Webalizer is installed.
Apache is configured to host SSL websites.
MySQL is installed and running.
ProFTPd is installed.
Logrotate is installed.
SpamAssassin and Procmail are installed and configured for use.
ClamAV is installed and assumed to be running.
Plugin DAV Login is installed OK.
Plugin AWstats reporting is installed OK.
Plugin Mailman is installed OK.
Plugin Protected web directories is installed OK.
Using network interface eth0 for virtual IPs.
IPv6 addresses are available, using interface eth0.
Default IP address for virtual servers is 65.18.196.122.
Default IP address is set to 65.18.196.122, which matches the detected external address.
Both user and group quotas are enabled for home and email directories.
All commands needed to create and restore backups are installed.
… your system is ready for use by Virtualmin.
Ok so all good so far.
- Ok let’s check DNS that is being advertised for my new virtual server so head over to intodns and run a check on the zone, the first issue is:
ok so server1.potsnobs.co is the name of the server, so it makes sense that it’s the default. However I need to get ns1 and ns2 working. So let’s add the two nameservers, and remove server1 as teh default. So edit the zone and click on zone paramaters, then change the following:
change the master server from server1.potsnobs.co to ns1.potsnobs.co and then save it back now the SOA looks like this.
$ttl 38400
potsnobs.co. IN SOA ns1.potsnobs.co root.server1.potsnobs.co. (
1295297879
10800
3600
604800
38400 )
@ IN NS server1.potsnobs.co.
ok the SOA is correct, but I need to remove the NS record and then add the proper ones. So click on name servers and remove the default one, then add ns1 and ns2.
Added the NS and A records, applied the zone and bounded named. Ok rerun the scan.
All looks ok, now here is the intereting part, let’s add the MX records.
Select all. | Invert selection.
Name TTL Priority Mail Server
potsnobs.co. Default 1 ASPMX.L.GOOGLE.COM
potsnobs.co. Default 5 ALT1.ASPMX.L.GOOGLE.COM
Name TTL Priority Mail Server
potsnobs.co. Default 5 ALT2.ASPMX.L.GOOGLE.COM
Select all. | Invert selection.
Return to zone list | Return to record types
ok now save, publish and bounce bind and.
[root@server1 ~]# dig mx potsnobs.co
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_5.3 <<>> mx potsnobs.co
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46542
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;potsnobs.co. IN MX
;; ANSWER SECTION:
potsnobs.co. 4599 IN MX 5 mail.potsnobs.co.
;; Query time: 1 msec
;; SERVER: 69.94.100.24#53(69.94.100.24)
;; WHEN: Tue Jan 18 00:12:01 2011
;; MSG SIZE rcvd: 50
it’s the DEFAULT MX BACK AGAIN. The ui shows my changes, but for the life of me I can’t get DNS to hand out the right mail exchangers.
Any thoughts?
TIA
Craig