hello - i am posting this question again since i may have more information and won’t sound like such an irritating newbie.
i wish to be able to manipulate my domain MX records. from my research, it appears i go to:
webmin–>servers—>BIND_DNS_Server,
and select the domain i wish to associate MX records with.
then click “Edit Records File” and then manually insert MX records into this file:
$ttl 38400
@ IN SOA ns1.dumbnewbie.com. root.ns1.dumbnewbie.com. (
1338932982
10800
3600
604800
38400 )
@ IN NS ns1.edwardsmarkf.com.
stupidnewbie.info. IN A 69.10.48.25
www.stupidnewbie.info. IN A 69.10.48.25
ftp.stupidnewbie.info. IN A 69.10.48.25
m.stupidnewbie.info. IN A 69.10.48.25
localhost.stupidnewbie.info. IN A 127.0.0.1
webmail.stupidnewbie.info. IN A 69.10.48.25
admin.stupidnewbie.info. IN A 69.10.48.25
stupidnewbie.info. IN TXT “v=spf1 a mx a:stupidnewbie.info ip4:69.10.48.25 ?all”
i am really just guessing, but this looks pretty promising.
can anybody tell me if i am on the right track here? i would like to think there is a better way, like the way cPanel approaches it.
also, can i make it global for all domains, or do i have to do it individually?
It isn’t necessary to manually edit the records file, instead you have 2 choices:
Via Virtualmin
Choose the virtual server you wish to edit, then go to Server Configuration > DNS Records. At the bottom of the page, choose MX - Mail Server from the select box and then click on ‘Create Record of Type’.
Enter the record name, which will be your domain name, leave the cache as default, set the priority according to your mail server requirements (if there is just one mx record then just use 5), in Mail Server Hostname, enter your MX record and then hit Save.
Via Webmin
Go to Webmin > Servers > BIND DNS Server, select your domain and then click on Mail Server at the top of the page.
From here the process is the same as described for the via Virtualmin option.
Either way, be sure to click on Apply Configuration in the top right hand corner of the Webmin > Servers > BIND DNS Server page. This will stop and restart bind so that your DNS changes are applied. Alternatively run
/etc/init.d/named restart
or
service named restart
Out of interest, what are your MX records that you’d like to use?
thank you virtual-noob! i feel silly now that i didn’t see that option. you are right, that one does look much easier than manually editing zone-file records!
i have become something of a fan of using the google-apps mail. its really just a matter of pointing mx records like so: