存档

‘16hot 杂记’ 分类的存档

状态不佳

2010年11月3日 16hot 没有评论

这段时间在赶ednsd,加上晚上小家伙醒了也被闹醒,休息不太好。感觉身体不太舒服,特别困,眼睛很难受。

今天去医院检查了下,情况不太糟糕,但是也不太好,需要注意休息才行了。

分类: 16hot 杂记 标签:

ednsd 记录支持

2010年10月27日 16hot 没有评论

支持记录类型:

A、NS、CNAME、SOA、PTR、MX、TXT、AAAA、SRV。

下面是各种类型的测试,其中PTR没有配反解,暂时没有。

SRV记录

% dig _dns._udp.fordns.net srv

; <<>> DiG 9.6.2-P2 <<>> _dns._udp.fordns.net srv
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59225
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;_dns._udp.fordns.net.          IN      SRV

;; ANSWER SECTION:
_dns._udp.fordns.net.   300     IN      SRV     10 20 53 ns1.fordns.net.

;; Query time: 19 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Wed Oct 27 21:19:22 2010
;; MSG SIZE  rcvd: 72

IPV6 (AAAA)记录

% dig v6.fordns.net aaaa

; <<>> DiG 9.6.2-P2 <<>> v6.fordns.net aaaa
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28344
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;v6.fordns.net.                 IN      AAAA

;; ANSWER SECTION:
v6.fordns.net.          300     IN      AAAA    2001:470:a80b::1

;; Query time: 108 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Wed Oct 27 21:21:44 2010
;; MSG SIZE  rcvd: 59

MX记录

% dig mx fordns.net

; <<>> DiG 9.6.2-P2 <<>> mx fordns.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43917
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;fordns.net.                    IN      MX

;; ANSWER SECTION:
fordns.net.             300     IN      MX      10 mail.fordns.net.

;; Query time: 820 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Wed Oct 27 21:22:04 2010
;; MSG SIZE  rcvd: 49

CNAME记录

% dig c.fordns.net

; <<>> DiG 9.6.2-P2 <<>> c.fordns.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12393
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;c.fordns.net.                  IN      A

;; ANSWER SECTION:
c.fordns.net.           100     IN      CNAME   www.f3dns.net.
www.f3dns.net.          60      IN      A       218.30.82.151

;; Query time: 36 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Wed Oct 27 21:22:23 2010
;; MSG SIZE  rcvd: 70

A记录

% dig fordns.net

; <<>> DiG 9.6.2-P2 <<>> fordns.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40903
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;fordns.net.                    IN      A

;; ANSWER SECTION:
fordns.net.             60      IN      A       218.30.82.151

;; Query time: 29 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Wed Oct 27 21:22:46 2010
;; MSG SIZE  rcvd: 44

TXT记录

% dig txt.fordns.net txt

; <<>> DiG 9.6.2-P2 <<>> txt.fordns.net txt
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26346
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;txt.fordns.net.                        IN      TXT

;; ANSWER SECTION:
txt.fordns.net.         60      IN      TXT     “218.30.82.151 operations against the DB occurred.”

;; Query time: 17 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Wed Oct 27 21:23:07 2010
;; MSG SIZE  rcvd: 94

NS记录

% dig fordns.net ns

; <<>> DiG 9.6.2-P2 <<>> fordns.net ns
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13420
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;fordns.net.                    IN      NS

;; ANSWER SECTION:
fordns.net.             300     IN      NS      ns4.fordns.net.
fordns.net.             300     IN      NS      ns3.fordns.net.
fordns.net.             300     IN      NS      ns1.fordns.net.
fordns.net.             300     IN      NS      ns2.fordns.net.

;; Query time: 246 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Wed Oct 27 21:23:43 2010
;; MSG SIZE  rcvd: 100

SOA记录

% dig fordns.net soa

; <<>> DiG 9.6.2-P2 <<>> fordns.net soa
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4010
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;fordns.net.                    IN      SOA

;; ANSWER SECTION:
fordns.net.             3600    IN      SOA     ns.fordns.net. root.fordns.net. 2010102008 3600 900 720000 3600

;; Query time: 18 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Wed Oct 27 21:24:04 2010
;; MSG SIZE  rcvd: 72

分类: 16hot 杂记 标签: , ,

redis 资料

2010年10月18日 16hot 没有评论
分类: 16hot 杂记 标签:

rrdtool资料

2010年10月18日 16hot 没有评论

http://homeserver.com.tw/%E7%B6%B2%E8%B7%AF%E5%A5%97%E4%BB%B6%E5%AE%89%E8%A3%9D%E6%95%99%E5%AD%B8/rrdtool-%E5%AE%8C%E5%85%A8%E6%94%BB%E7%95%A5-2/

分类: 16hot 杂记, BSD/linux 标签:

PHP-DNSD

2010年10月13日 16hot 没有评论

http://blog.magicaltux.net/2009/02/16/php-dns-daemon/

分类: 16hot 杂记 标签: ,

悲哀的事情发生了

2010年10月2日 16hot 没有评论

在调试程序时,可能配置文件更新导致程序将工作目录给删除了。

悲哀啊……

最悲哀的事情,是没有做备份,都怪自己懒啊。还得花时间重新整理。

分类: 16hot 杂记, BSD/linux 标签:

入手HTC HD2

2010年8月20日 16hot 没有评论

开始准备购买HTC的Android系统的手机,但是要么配置太低,要么价格太高。看来看去,都不甚理想。

后来看到HD2,可以运行Android 2.1,2.2了。虽然是双系统,那也说明有独立运行Android的可能了啊。毕竟目前国外有个团队在研发呢。

于是和老婆商量了下,两人一起买了两台,人手一台。谁也不用郁闷、眼红。呵呵

配置:

CPU 1G
内存 576
ROM 512
系统 Windows Mobile 6.5

在中关村鼎好买的。水货,价格适中。

统计状态说明

2010年5月30日 16hot 没有评论

The Statistics File

The statistics file generated by BIND 9 is similar, but not identical, to that generated by BIND 8.

The statistics dump begins with a line, like:

+++ Statistics Dump +++ (973798949)

The number in parentheses is a standard Unix-style timestamp, measured as seconds since January 1, 1970. Following that line are a series of lines containing a counter type, the value of the counter, optionally a zone name, and optionally a view name. The lines without view and zone listed are global statistics for the entire server. Lines with a zone and view name for the given view and zone (the view name is omitted for the default view).

The statistics dump ends with the line where the number is identical to the number in the beginning line; for example:

— Statistics Dump — (973798949)

The following statistics counters are maintained:

success The number of successful queries made to the server or zone. A successful query is defined as query which returns a NOERROR response with at least one answer RR.
referral The number of queries which resulted in referral responses.
nxrrset The number of queries which resulted in NOERROR responses with no data.
nxdomain The number of queries which resulted in NXDOMAIN responses.
failure The number of queries which resulted in a failure response other than those above.
recursion The number of queries which caused the server to perform recursion in order to find the final answer.

Each query received by the server will cause exactly one of success, referral, nxrrset, nxdomain, or failure to be incremented, and may additionally cause the recursion counter to be incremented.

分类: 16hot 杂记 标签:

入手X201i新笔记本

2010年5月28日 16hot 没有评论

今天拿到了新的X201i笔记本。 i5 M430 CPU,加到4G内存,换了块500G 7200转的硬盘。

拿到后,先是运行系统自带的windows7,确认机器没问题。之后加内存,换硬盘,安装FreeBSD AMD64版8.0系统。8.0-RELEASE,不支持笔记本的有线、无线网卡。幸好之前买了一块D-Link的USB无线网卡,先用着,更新到8-stable系统源码,重新编译升级到8-stable后,有线、无线网卡都支持了。

接下来就是需要确认是否支持显卡了,在下载和编译安装Xorg,Gnome2.30 。期待……

分类: 16hot 杂记 标签:

车做完首保了

2010年5月22日 16hot 没有评论

车买了4个多月,跑了差不多3000公里了,也该做首保了。

在周六(22日)的时候,将车开去4S店,做首保,随便报了保险,给刮蹭的地方喷喷漆。报保险还挺麻烦,填好单子,定损,打电话报案,获取了报案号后,填到单子里,然后去维修……

今天去取车,都喷好漆了,感觉还很不错的。呵呵

迟些找二毛帮忙叫人跑跑高速,看看有没有什么改善的地方。

分类: 16hot 杂记 标签: