Thanks for the reply. In the case of the domain below, that was manually set. The domain I wanted updated was checked in the AWS console directly, and still had the old value…
I will try modify the php file and see if I can get it to show whats going on. Thanks. --Tiernan From: List [mailto:[email protected]] On Behalf Of Moshe Katz Sent: Wednesday 11 March 2015 13:40 To: pfSense support and discussion Subject: Re: [pfSense] Dynamic DNS and Route 53 Just three things to add to what Brian said. For Windows hosts, run "ipconfig /flushdns" to clear the cache. (You can also use "/displaydns" to set what's in the cache, but you're going to have to ease through the entire thing so it's probably not worth it.) If you are using Google Chrome (on any platform), you will also need to clear its cache. Go to "chrome://net-internals", click " DNS", and click the clear button. Finally, the easiest way to see the raw request and response is probably by opening up the PHP file that runs DNS updates and adding a bunch of "echo" statements. I don't have a pfSense box in front of me at the moment to see which file it is, but I'm guessing it's not too hard to find. Just make sure to remove your changes when you are done. Moshe Sorry for top-posting. Sent from a mobile device. On Mar 11, 2015 8:48 AM, "Brian Candler" <[email protected]<mailto:[email protected]>> wrote: On 11/03/2015 10:09, Tiernan OToole wrote: Any tips on checking this properly? How can i see what is being sent and received from the server? I don't know about that (tcpdump perhaps), but here's how to check what's published in the DNS: $ dig +trace @8.8.8.8<http://8.8.8.8> tiernanotoolephotography.com<http://tiernanotoolephotography.com>. a ; <<>> DiG 9.8.3-P1 <<>> +trace @8.8.8.8<http://8.8.8.8> tiernanotoolephotography.com<http://tiernanotoolephotography.com>. a ; (1 server found) ;; global options: +cmd . 2466 IN NS l.root-servers.net<http://l.root-servers.net>. . 2466 IN NS h.root-servers.net<http://h.root-servers.net>. . 2466 IN NS k.root-servers.net<http://k.root-servers.net>. . 2466 IN NS i.root-servers.net<http://i.root-servers.net>. . 2466 IN NS g.root-servers.net<http://g.root-servers.net>. . 2466 IN NS j.root-servers.net<http://j.root-servers.net>. . 2466 IN NS d.root-servers.net<http://d.root-servers.net>. . 2466 IN NS a.root-servers.net<http://a.root-servers.net>. . 2466 IN NS f.root-servers.net<http://f.root-servers.net>. . 2466 IN NS b.root-servers.net<http://b.root-servers.net>. . 2466 IN NS m.root-servers.net<http://m.root-servers.net>. . 2466 IN NS e.root-servers.net<http://e.root-servers.net>. . 2466 IN NS c.root-servers.net<http://c.root-servers.net>. ;; Received 228 bytes from 8.8.8.8#53(8.8.8.8) in 51 ms com. 172800 IN NS a.gtld-servers.net<http://a.gtld-servers.net>. com. 172800 IN NS b.gtld-servers.net<http://b.gtld-servers.net>. com. 172800 IN NS c.gtld-servers.net<http://c.gtld-servers.net>. com. 172800 IN NS d.gtld-servers.net<http://d.gtld-servers.net>. com. 172800 IN NS e.gtld-servers.net<http://e.gtld-servers.net>. com. 172800 IN NS f.gtld-servers.net<http://f.gtld-servers.net>. com. 172800 IN NS g.gtld-servers.net<http://g.gtld-servers.net>. com. 172800 IN NS h.gtld-servers.net<http://h.gtld-servers.net>. com. 172800 IN NS i.gtld-servers.net<http://i.gtld-servers.net>. com. 172800 IN NS j.gtld-servers.net<http://j.gtld-servers.net>. com. 172800 IN NS k.gtld-servers.net<http://k.gtld-servers.net>. com. 172800 IN NS l.gtld-servers.net<http://l.gtld-servers.net>. com. 172800 IN NS m.gtld-servers.net<http://m.gtld-servers.net>. ;; Received 506 bytes from 192.203.230.10#53(192.203.230.10) in 33 ms tiernanotoolephotography.com<http://tiernanotoolephotography.com>. 172800 IN NS ns-99.awsdns-12.com<http://ns-99.awsdns-12.com>. tiernanotoolephotography.com<http://tiernanotoolephotography.com>. 172800 IN NS ns-718.awsdns-25.net<http://ns-718.awsdns-25.net>. tiernanotoolephotography.com<http://tiernanotoolephotography.com>. 172800 IN NS ns-1318.awsdns-36.org<http://ns-1318.awsdns-36.org>. tiernanotoolephotography.com<http://tiernanotoolephotography.com>. 172800 IN NS ns-1983.awsdns-55.co.uk<http://ns-1983.awsdns-55.co.uk>. ;; Received 214 bytes from 192.31.80.30#53(192.31.80.30) in 119 ms tiernanotoolephotography.com<http://tiernanotoolephotography.com>. 300 IN A 79.97.100.91 tiernanotoolephotography.com<http://tiernanotoolephotography.com>. 172800 IN NS ns-1318.awsdns-36.org<http://ns-1318.awsdns-36.org>. tiernanotoolephotography.com<http://tiernanotoolephotography.com>. 172800 IN NS ns-1983.awsdns-55.co.uk<http://ns-1983.awsdns-55.co.uk>. tiernanotoolephotography.com<http://tiernanotoolephotography.com>. 172800 IN NS ns-718.awsdns-25.net<http://ns-718.awsdns-25.net>. tiernanotoolephotography.com<http://tiernanotoolephotography.com>. 172800 IN NS ns-99.awsdns-12.com<http://ns-99.awsdns-12.com>. ;; Received 198 bytes from 205.251.197.38#53(205.251.197.38) in 6 ms So to eliminate any local DNS caching as an issue, you should ask one of the four servers which is authoritative for your domain for the answer. $ dig +short +norec @ns-99.awsdns-12.com<http://ns-99.awsdns-12.com>. tiernanotoolephotography.com<http://tiernanotoolephotography.com>. a 79.97.100.91 This seems to match what you were expecting, so it appears to have worked now. If you have a client which is still resolving to the old address then flush its cache, and check there's no static "hosts" entry. For OSX clients, you can flush their DNS cache like this: sudo killall -HUP mDNSResponder For Linux clients running nscd, even restarting nscd won't flush the cache. You need to do: nscd --invalidate=hosts For Windows clients, best to just reboot them :-) Regards, Brian. _______________________________________________ pfSense mailing list https://lists.pfsense.org/mailman/listinfo/list Support the project with Gold! https://pfsense.org/gold
_______________________________________________ pfSense mailing list https://lists.pfsense.org/mailman/listinfo/list Support the project with Gold! https://pfsense.org/gold
