ydns / bash-updater

YDNS Bash Updater Script
GNU General Public License v3.0
80 stars 43 forks source link

TTL at 600, cannot change it #11

Closed martinlindhe closed 9 years ago

martinlindhe commented 9 years ago

Hello, I'm trying to set the TTL for my ydns host to a lower ammount because our 3G ISP is a little whacky. But it seems it is stuck on 600, whatever i change it to & save.

I'm trying to set TTL to 300, or 60.

commx commented 9 years ago

Hi, is the updated TTL saved (and displays it correctly afterwards)? You may also try to see what dig is able to find out: dig A yourhost.ydns.eu (it will include the TTL as returned by the DNS server).

martinlindhe commented 9 years ago

dig A myhost.ydns.eu continues to report 600 TTL, and no, the web ui keeps showing 600 after i changed it to 300 and saved (on https://ydns.eu/hosts/myhost..)

commx commented 9 years ago

Ok. Can you drop me a mail to cj@ydns.eu with your host so I can have a look at it?

martinlindhe commented 9 years ago

sure, mail sent!

martinlindhe commented 9 years ago

:-(

cj@ydns.eu failed: ydns.eu->MX: 550 5.1.1 The email account that you tried to reach does not exist. Please try double-checking the recipient's email address for typos or unnecessary spaces. Learn more at http://support.google.com/mail/bin/answer.py?answer=6596 kk5si10501452lac.34 - gsmtp Reporting-MTA: dns; mailrelay6.public.one.com Received-from-MTA: smtp; 10.1.0.180 Original-Envelope-Id: 53a73382-4ae8-11e4-be65-b82a72d06996 Arrival-Date: Fri, 03 Oct 2014 12:30:44 +0200

martinlindhe commented 9 years ago

from gmail:

Delivery to the following recipient failed permanently:

cj@ydns.eu

Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the server for the recipient domain ydns.eu by aspmx.l.google.com. [74.125.143.27].

The error that the other server returned was: 550-5.1.1 The email account that you tried to reach does not exist. Please try 550-5.1.1 double-checking the recipient's email address for typos or 550-5.1.1 unnecessary spaces. Learn more at 550 5.1.1 http://support.google.com/mail/bin/answer.py?answer=6596 rg2si10520275lbb.31 - gsmtp

commx commented 9 years ago

Strange, please try support@ydns.eu instead

martinlindhe commented 9 years ago

thx, that seems to have worked! :)

commx commented 9 years ago

I have applied an update to YDNS which should fix the issue. TTL updates were indeed not applied to the records, but that should now be fixed. Please try yourself.

martinlindhe commented 9 years ago

yes, it works! i changed my ttl in web UI to 300, saved & now it kept the value. I flushed my local dns cache and dig A host now returns 300, super thx!!!

commx commented 9 years ago

Thanks for reporting! :+1: