Hitchhiker's Guide to Openbsd


Fix, using a local DNS server


Download 1.27 Mb.
Pdf ko'rish
bet136/258
Sana04.04.2023
Hajmi1.27 Mb.
#1328980
1   ...   132   133   134   135   136   137   138   139   ...   258
Bog'liq
obsd-faq49

Fix, using a local DNS server
Details on this are somewhat beyond the scope of this document, but the basic trick is to setup your 
favorite DNS server, and make sure it knows it is authoritative for both forward and reverse DNS 
resolution for all nodes in your network, and make sure your computers (including your gateway) know 
to use it as a DNS server. 
8.23 - Why do the OpenBSD web pages not conform to HTML4/
XHTML?
The present web pages have been carefully crafted to work on a wide variety of actual browsers going 
back to browser versions 4.0 and later. We do not want to make these older pages conform to HTML4 or 
XHTML until we're sure that they will also work with older browsers; it's just not a priority. We 
welcome new contributors, but suggest you work on writing code, or on documenting new aspects of the 
system, not on tweaking the existing web pages to conform to newer standards. 
8.24 - Why is my clock off by twenty-some seconds?
When using 
rdate(8)
 to synchronize your clock to a NTP server, you may find your clock is off by 
http://www.openbsd.org/faq/faq8.html (18 of 20)9/4/2011 10:02:10 AM


8 - General Questions
twenty-some seconds from your local definition of time. 
This is caused by a difference between the UTC (Coordinated Universal Time, based on astronomical 
observations) time and TAI (International Atomic Time, based on atomic clocks) time. To compensate 
for variations in the earth's rotation, "leap seconds" are inserted into UTC, but TAI is unadjusted. These 
leap seconds are the cause of this discrepancy. For a more detailed description, search the web for 
"
leap seconds UTC TAI
". 
Addressing the problem is fairly simple. In most countries you will get the correct time if you use the "
-
c
" parameter to 
rdate(8)
 and use a time zone out of the directory 
/usr/share/zoneinfo/right/

For example, if you are located in Germany, you could use these commands: 
cd /etc && ln -sf /usr/share/zoneinfo/right/CET localtime
rdate -ncv ptbtime1.ptb.de
In other countries, the rules may differ. 

Download 1.27 Mb.

Do'stlaringiz bilan baham:
1   ...   132   133   134   135   136   137   138   139   ...   258




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling