Using "time.dnsp.co" and "date.dnsp.co"

time.dnsp.co will return the current server time (in 24 hour notation). time12.dnsp.co will return the same in 12 hour notation. date.dnsp.co will return the current date. AAAA records are also available, in the case of an AAAA request for date.dnsp.co it will return both the date and time (since there is plenty of room for it).

The time should change from second to second, if it isn't changing it may be being cached by an intermediate device. For bonus points, since the time itself is encoded in the response you might be able to figure out how long the caching lasts.


Examples:

prompt> dig time.dnsp.co ; <<>> DiG 9.5.0-P2 <<>> time.dnsp.co ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1841 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;time.dnsp.co. IN A ;; ANSWER SECTION: time.dnsp.co. 0 IN A 2.6.16.0 ;; Query time: 53 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Mon Dec 22 02:06:22 2014 ;; MSG SIZE rcvd: 46
prompt> dig time12.dnsp.co ; <<>> DiG 9.5.0-P2 <<>> time12.dnsp.co ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 142 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;time12.dnsp.co. IN A ;; ANSWER SECTION: time12.dnsp.co. 0 IN A 2.6.24.0 ;; Query time: 116 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Mon Dec 22 02:06:30 2014 ;; MSG SIZE rcvd: 48
prompt> dig date.dnsp.co ; <<>> DiG 9.5.0-P2 <<>> date.dnsp.co ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1285 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;date.dnsp.co. IN A ;; ANSWER SECTION: date.dnsp.co. 0 IN A 14.12.22.0 ;; Query time: 81 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Mon Dec 22 02:06:34 2014 ;; MSG SIZE rcvd: 46
prompt> dig AAAA time.dnsp.co ; <<>> DiG 9.5.0-P2 <<>> AAAA time.dnsp.co ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 511 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;time.dnsp.co. IN AAAA ;; ANSWER SECTION: time.dnsp.co. 0 IN AAAA 2:6:37:: ;; Query time: 43 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Mon Dec 22 02:06:43 2014 ;; MSG SIZE rcvd: 58
prompt> dig AAAA date.dnsp.co ; <<>> DiG 9.5.0-P2 <<>> AAAA date.dnsp.co ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1996 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;date.dnsp.co. IN AAAA ;; ANSWER SECTION: date.dnsp.co. 0 IN AAAA 2014:12:22:2:6:42:: ;; Query time: 81 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Mon Dec 22 02:06:47 2014 ;; MSG SIZE rcvd: 58