Created
May 20, 2015 18:04
-
-
Save VerosK/a764fa7e7f004707c4fe to your computer and use it in GitHub Desktop.
Fail 2008
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- encoding: iso8859-2 -*- | |
WEB_2001 = '83.240.XX.XXX' | |
WEB_2008 = '193.19.XXX.XX' | |
MAIL_2001 = '83.240.39.188' | |
MAIL_2008 = '193.19.XXX.XX' | |
DEF_IP = WEB_2008 | |
DEF_MX = ( MAIL_2008, MAIL_2001 ) | |
def domain(name, mx=DEF_MX, address=DEF_IP): | |
... | |
# tady se generuje konfigurace pro domenu | |
... | |
domain('nasefirma.cz') | |
domain('spousta firem.cz') | |
domain('veroskaplan.cz') | |
... | |
# spusta dalsich domen | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment