Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] adventures in dns

> From: at [mailto:discuss-
> at] On Behalf Of Matthew Gillen
> I messed around with 'date -s' trying to set the system clock, but gave up
> figuring out how to specify the format correctly (I have used it in the

When you "man date" it looks pretty straightforward to me: 
/usr/bin/date [-u] [ [mmdd] HHMM |  mmddHHMM [cc] yy]  [.SS]
Just start typing numbers, in that order
	date 103007322012
(It's 10/30 07:32, 2012 right now.)

Also, this has been my standard NTP server for a few years.  If anyone gets it right, it's got to be them.
I would find it *extremely* shocking if they screwed up their DNS in such a way that it wouldn't resolve if you had the wrong date on your computer.  That's the POINT of their DNS.

Even if your date is wrong, you can always ask someone else to look it up for you explicitly
This way, you're completely bypassing your local resolver and going directly to to ask them to resolve it

And finally, for a one-time-bam set your clock, just run the ntpdate command.
(This one does rely on your local resolver, so you might have to do the nslookup command first, and then type in the IP address.)

BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!

Boston Linux & Unix /