ドメインだと example.com example.net example.org の他に .example というTLDもあるのね。
こいつらへの問い合わせを root server に聞きに行かないようにする dnscache の設定とかすっかな。
(5月10日追記)bindの named.conf にこんなの書いてみた。master/DUMMY はSOAと localhost 127.0.0.1 だけ設定してあるダミーゾーンファイル。 本当はNXDOMAIN返したかったんだけどやり方が分からなかった。
// RFC2066, RFC3330, RFC3849
zone "test" { type master; file "master/DUMMY"; allow-query { any; };};
zone "example" { type master; file "master/DUMMY"; allow-query { any; };};
zone "invalid" { type master; file "master/DUMMY"; allow-query { any; };};
zone "localhost" { type master; file "master/DUMMY"; allow-query { any; };};
zone "example.com" { type master; file "master/DUMMY"; allow-query { any; };};
zone "example.net" { type master; file "master/DUMMY"; allow-query { any; };};
zone "example.org" { type master; file "master/DUMMY"; allow-query { any; };};
zone "2.0.192.in-addr.arpa" { type master; file "master/DUMMY"; allow-query { any; };};
zone "8.B.D.0.1.0.0.2.ip6.int" { type master; file "master/DUMMY"; allow-query { any; };};
zone "8.B.D.0.1.0.0.2.ip6.arpa" { type master; file "master/DUMMY"; allow-query { any; };};
手元のマシン用
include GENERIC ident MIMORI nooptions MD_ROOT nooptions NFS_ROOT nodevice eisa nodevice atapifd # ATAPI floppy drives nodevice atapist # ATAPI tape drives nodevice ahb # EISA AHA1742 family nodevice isp # Qlogic family nodevice mpt # LSI-Logic MPT-Fusion nodevice ncr # NCR/Symbios Logic nodevice sym # NCR/Symbios Logic (newer chipsets + those of `ncr') nodevice trm # Tekram DC395U/UW/F DC315U adapters nodevice adv # Advansys SCSI adapters nodevice adw # Advansys wide SCSI adapters nodevice aha # Adaptec 154x SCSI adapters nodevice aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60. nodevice bt # Buslogic/Mylex MultiMaster SCSI adapters nodevice ncv # NCR 53C500 nodevice nsp # Workbit Ninja SCSI-3 nodevice stg # TMC 18C30/18C50 nodevice amr # AMI MegaRAID nodevice asr # DPT SmartRAID V, VI and Adaptec SCSI RAID nodevice ciss # Compaq Smart RAID 5* nodevice dpt # DPT Smartcache III, IV - See NOTES for options nodevice hptmv # Highpoint RocketRAID 182x nodevice iir # Intel Integrated RAID nodevice ips # IBM (Adaptec) ServeRAID nodevice mly # Mylex AcceleRAID/eXtremeRAID nodevice twa # 3ware 9000 series PATA/SATA RAID nodevice aac # Adaptec FSA RAID nodevice aacp # SCSI passthrough for aac (requires CAM) nodevice ida # Compaq Smart RAID nodevice mlx # Mylex DAC960 family nodevice pst # Promise Supertrak SX6000 nodevice twe # 3ware ATA RAID nodevice cbb # cardbus (yenta) bridge nodevice pccard # PC Card (16-bit) bus nodevice cardbus # CardBus (32-bit) bus nodevice plip # TCP/IP over parallel nodevice ppi # Parallel port interface device nodevice lge # Level 1 LXT1001 gigabit ethernet nodevice nge # NatSemi DP83820 gigabit ethernet nodevice pcn # AMD Am79C97x PCI 10/100 (precedence over 'lnc') nodevice sf # Adaptec AIC-6915 (``Starfire'') nodevice sis # Silicon Integrated Systems SiS 900/SiS 7016 nodevice sk # SysKonnect SK-984x & SK-982x gigabit Ethernet nodevice ste # Sundance ST201 (D-Link DFE-550TX) nodevice ti # Alteon Networks Tigon I/II gigabit Ethernet nodevice tl # Texas Instruments ThunderLAN nodevice tx # SMC EtherPower II (83c170 ``EPIC'') nodevice vge # VIA VT612x gigabit ethernet nodevice wb # Winbond W89C840F nodevice xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') nodevice cs # Crystal Semiconductor CS89x0 NIC nodevice ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards nodevice ex # Intel EtherExpress Pro/10 and Pro/10+ nodevice ep # Etherlink III based cards nodevice fe # Fujitsu MB8696x based cards nodevice ie # EtherExpress 8/16, 3C507, StarLAN 10 etc. nodevice lnc # NE2100, NE32-VL Lance Ethernet cards nodevice sn # SMC's 9000 series of Ethernet chips nodevice xe # Xircom pccard Ethernet nodevice wlan # 802.11 support nodevice an # Aironet 4500/4800 802.11 wireless NICs. nodevice awi # BayStack 660 and others nodevice ral # Ralink Technology RT2500 wireless NICs. nodevice wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. nodevice wl # Older non 802.11 Wavelan wireless NIC. nodevice sl # Kernel SLIP nodevice urio # Diamond Rio 500 MP3 player nodevice ural # Ralink Technology RT2500USB wireless NICs nodevice uscanner # Scanners nodevice aue # ADMtek USB Ethernet nodevice axe # ASIX Electronics USB Ethernet nodevice cue # CATC USB Ethernet nodevice kue # Kawasaki LSI USB Ethernet nodevice rue # RealTek RTL8150 USB Ethernet nodevice firewire # FireWire bus code nodevice sbp # SCSI over FireWire (Requires scbus and da) nodevice fwe # Ethernet over FireWire (non-standard!) # options IPSEC #IP security options IPSEC_ESP #IP security (crypto; define w/ IPSEC) options DEVICE_POLLING # options HZ=2000 options ALTQ options ALTQ_CBQ options ALTQ_RED options ALTQ_RIO options ALTQ_HFSC options ALTQ_CDNR options ALTQ_PRIQ # options ALTQ_NOPCC options ALTQ_DEBUG
Fibre Channel 化の可能性を考えると isp と mpt はあった方がよかったかも。 とはいえGENERICカーネルも /boot/kernel.GENERIC に作ることにしてるのでいざという場合はなんとかなる。
たるい番組だった。女子大生100人の前でしゃべらせるってすごいアホ企画なんだが…
mixiを預かってる さくらインターネット の姿が見えたのが個人的には一番よかった。 データセンターの中にはそうそう入れんからのう。
Mimori’s Algorithms tDiaryから そういうことらしい。 必要な分を必要なだけ書き込めばよくなったことでだいぶ見通しがよくなった。 とりあえず自分が必要なのはALTQとIPSec追記ぐらいかな。 デバイス削るのもだるいしな。 include GENERIC ident OJOS options ALTQ optio