I am playing around a little with my just installed bind server (bind9) and wondering if it maybe would also be possible to make bind resolve fake domains into an external ip pointing to (for example) Google.com. So, that if I type (for example) only the word "Google" into my webbrowser that bind (following my local zone file) wil send me directly to google.com.
I already tried something like this, but it didn't work:
Code: Select all
google. IN SOA ns.google. home.(
2006081401
28800
3600
604800
38400
)
@ IN A 74.125.133.101
Code: Select all
; <<>> DiG 9.8.4-rpz2+rl005.12-P1 <<>> google
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 614
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;google. IN A
;; AUTHORITY SECTION:
. 10687 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2015052600 1800 900 604800 86400
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue May 26 10:35:56 2015
;; MSG SIZE rcvd: 105