Loading...
 

DNS Fake

Start with a clean installation of the DNS system Bind (we used version 9).

Then, in /etc/bind/named.conf change the zone “.” entry to the following:

zone "." { 
type master; 
file "/etc/bind/db.root"; 
notify no; 
};


Then, replace the default db,root file (back it up first) with a file that
contains only the following:

$TTL 604800 
@ IN SOA . root.localhost. ( 
1 ; Serial 
604800 ; Refresh 
86400 ; Retry 
2419200 ; Expire 
604800 ) ; Negative Cache TTL 
@ IN NS . 
* IN A 192.168.x.x


Replace the IP address 192.168.x.x with the IP address to which you
want all domains to be resolved.