############################################################################ # # eponym_prefs.txt # Version: 2.72 # http://encodable.com/eponym/ # ############################################################################ ############################################################################ # The main idea of Eponym is that it can keep your DynDNS/ZoneEdit # hostname(s) in sync with your system's current IP address. But # you can also run it in "hostless" mode, in which case it won't # try to update any hostnames, it'll just send you regular emails # telling you the current IP of the system. # hostless_mode = no ############################################################################ # Enter your email address and SMTP server, so that the script # can notify you when your IP address changes, or when there # is a problem updating your dynamic DNS hostname(s). You can # also choose to have the script regularly email you your IP # address every N minutes, even if it hasn't changed. You can # specify as many email addresses as you want here; they'll all # get the same emails. Finally, you can specify that this script # is running in "hostless" mode, in which case we'll only send # these regular emails, and it won't be an error if you don't # specify any hostnames below. # # Most SMTP servers use port number 25, but if you want to specify an # alternate port, you can put it on the end, e.g.: # # smtp_server = smtp.myisp.net:587 # # Optionally, specify smtp_auth_username and pass, if your SMTP server # requires authentication. # # The email_hello_domain should be set to your domain name, e.g. yoursite.com, # to be used in the email headers. # smtp_server = smtp.myisp.net:25 smtp_auth_username = smtp_auth_password = email_hello_domain = email_recipient_1 = eponym.status@mysite.com recipient_1_gets_regular_notifications = yes email_recipient_2 = my.normal.email@mysite.com recipient_2_gets_regular_notifications = no # 180 = 3 hours, 720 = 12 hours, 1440 = 24 hours... num_minutes_between_regular_email_notifications = 360 ############################################################################ # This is the authentication string used to access your account # on DynDNS.org or ZoneEdit.com To determine the value for this # setting, open a command prompt, use the cd command to switch # to the directory where you put the eponym.pl script and # preferences file, and then run this command: # # perl eponym.pl --getauth # # You can set either or both of these values, but you must set # at least one (unless you're running in hostless mode). # #zoneedit_authorization = dyndns_authorization = ############################################################################ # These are the hostnames on your dynamic DNS account, that you want # to resolve to your IP address. You can have 1 or more of these. # Note that these hosts must actually exist on your account # beforehand; this script won't create the hosts for you. And # you can use this script to update hosts on any of the endings # available through DynDNS.org, like gotdns.org, is-a-geek.com, # myphotos.cc... not just dyndns.org. Of course if you're using # ZoneEdit.com then you can use any domain-name (yoursite.com) # that you own and have set up with them. # # Examples: note that you must prefix the hostname with the type # of service it's on (dyndns or zoneedit). # #host_to_update = dyndns:myhostname.dyndns.org #host_to_update = zoneedit:myowndomain.com # host_to_update = host_to_update = ############################################################################ # IP detection command: if you want to use an external command to determine # your current IP address, instead of the ip_reporter feature below, then # enter that command here. For example: # # ifconfig eth0 | grep 'inet addr' | awk '{print $2}' | sed -e 's/.*://' # # But note that this won't work in many cases, because the IP reported by # your local system will often be an internal IP address, rather than your # network's external IP. In those cases you must use the ip_reporter # feature instead. # ip_detection_command = ############################################################################ # IP reporters: these are sites that tell you your IP address. # Just search google.com for "your ip address is" (in quotes) # and you'll find lots of sites that report this information. # If it says your IP address on the webpage, then you can add it # as a reporter here. You must have at least 8 such webpages # here, but you should have more than that, 10 or 15 ideally. # They must all have a slash after the .com, .net, etc., even # if there's nothing else after that. These values can start # with http:// or https:// or ftp://, but they don't have to. # # Note: I require each user to get their own list of IP-reporting # websites because: # 1) any static list that I create/distribute would get outdated. # 2) new sites pop up all the time and google (etc) will return # different results as time passes. # 3) we don't want to overload any certain small set of servers # (not that any reasonable person would consider "requesting # web pages from a web server" to be a Bad Thing, unless you # were doing it 5 times a minute, and we don't allow that here). # # Examples: #ip_reporter = www.somewebsiteaddress.com/ #ip_reporter = http://someotherwebsite.com/ip_address_script.cgi #ip_reporter = http://www.awebsite.com/what/ever.htm # ip_reporter = ip_reporter = ip_reporter = ip_reporter = ip_reporter = ip_reporter = ip_reporter = ip_reporter = ip_reporter = ip_reporter = ip_reporter = ip_reporter = ############################################################################ # Detection frequency is how often (in minutes) we'll check your # IP address to make sure it matches your dynamic DNS hostname(s). # This can be any whole number greater than 9. Note that this # only applies if you're running eponym with the --forever option, # which you shouldn't; instead use a Windows Scheduled Task or a # cron job to run eponym automatically every 15 minutes. # detection_frequency = 15 ############################################################################ # # The rest only apply to DynDNS.org accounts, not ZoneEdit.com accounts. # ############################################################################ ############################################################################ # This is the type of hostname(s) you have. It must be either # dyndns, statdns, or custom. It's probably dyndns. # system = dyndns ############################################################################ # Wildcard is an option that you can set, which allows you to # use any subdomain of your DynDNS hostname, and have it resolve # to your IP address. For example, if your hostname is # myhost.dyndns.org, then with wildcard turned on, you could also # use whatever.myhost.dyndns.org, blah.myhost.dyndns.org, # etc.myhost.dyndns.org, in addition to just myhost.dyndns.org. # With wildcard turned off, only myhost.dyndns.org will work. # This doesn't seem particularly exciting, since they all still # point to the same IP address, but I found it useful in at least # one situation. When trying to use my linux machine as an SMTP # mail server with Sendmail, all the mail that I sent kept getting # returned to me. That's because the recipients' mail servers # were trying to resolve mylinuxbox.myhost.dyndns.org to an IP # address, and it wouldn't resolve (only myhost.dyndns.org would # resolve to my IP address). So I turned the wildcard option on, # and now anything.myhost.dyndns.org will resolve to my IP address. # (Note: on linux, you set your machine's hostname in the # /etc/hosts and /etc/HOSTNAME files. That's where I set it to # mylinuxbox.myhost.dyndns.org) # # Set this to yes or no. # wildcard = yes ############################################################################ # Mail exchanger. If you don't know what this is, then you probably # don't need it. If you do use it, it must be a hostname that # resolves to an IP address. # mx = ############################################################################ # If you're using a mail exchanger, you can specify that it be a # backup mail exchanger. Set this to YES or NO (or blank). # backmx =