
Původně odeslal
Rainbow
resolv.conf nastavis na 127.0.0.1 a do casti forwarders v named.conf zapises DNS servery providera.
A dhdpcd treba spustat s nejakymi parametrami, aby neprepisoval resolv.conf.
Kód:
root@slackwolf:/etc# dig adx.adrenalinesk.sk
; <<>> DiG 9.2.2-P3 <<>> adx.adrenalinesk.sk
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36022
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
;adx.adrenalinesk.sk. IN A
;; ANSWER SECTION:
adx.adrenalinesk.sk. 86400 IN A 127.0.0.1
;; AUTHORITY SECTION:
adx.adrenalinesk.sk. 86400 IN NS ns0.example.net.
adx.adrenalinesk.sk. 86400 IN NS ns1.example.net.
;; Query time: 5 msec
;; SERVER: 10.0.0.3#53(10.0.0.3)
;; WHEN: Thu Jan 13 10:42:44 2005
;; MSG SIZE rcvd: 100
root@slackwolf:/etc# nslookup adx.adrenalinesk.sk
Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server: 10.0.0.3
Address: 10.0.0.3#53
Name: adx.adrenalinesk.sk
Address: 127.0.0.1
root@slackwolf:/etc#
resolv.conf:
Kód:
kód:
nameserver 10.0.0.3
search slackwolf.lan
a stejne tu reklamu mam