Default DNS Templates live where?

4 posts / 0 new
Last post
#1 Mon, 02/26/2007 - 12:36
MedWheel

Default DNS Templates live where?

Hey, I'm working with the GPL version and I have been searching everything I could find on the subject but no luck. I'm looking for the location of a template file/settings used for creating DNS records for the domains created with Virtualmin so I can change what the default MX priority is. Hopefuly someone could point me in the right direction.

Mon, 02/26/2007 - 13:10
Joe
Joe's picture

You can change the DNS records for new domains by doing the following :

1) Go to Virtualmin, and click on Server Templates on the main page.
2) Click on Default template, then on BIND DNS Domain
3) Fill in the 'BIND DNS records for new domains' field with your own zone file records for new domains. $IP will be replaced with the IP address and $DOM with the domain name when creating.
4) Select the 'Use only the records above' option.

Unfortunately, there is no simple way to otherwise change the default MX priority of 5. I would be interested to know why you need to do this though?

--

Check out the forum guidelines!

Mon, 02/26/2007 - 14:09
MedWheel

Mainly is for some breathing room as far as mail servers go. We use an anti-spam filter that filters all domains that we host, we also wanted to add a null record as the first priority knowing that the spammers usualy will only try the first MX to relay spam to.

As I think about it more I'm realizing that I could leave the defult MX at 5 but configure it to our anti-spam device and then add the other default mail servers after that via "Add to automatically generated records." I wouldn't have to change anything other then the addition to the template.

Thank you for the help.

Mon, 02/26/2007 - 14:20
Joe
Joe's picture

Yes, you would be better off adding a record like :

@ IN MX your.spam.filter. 3

rather than replacing all the auto-generated records..

--

Check out the forum guidelines!

Topic locked