[ back to the ad server index page | example null zone file | VB script alternative | php source | convert hosts files to BIND zone files ]
(Don't know what this page is about? Have a look at the main page.)
OK, here's the drill: paste a hosts file into the textarea, and hit "convert to BIND zone file format". Then -- and I know this might come as a surprise, but keep with me here -- if you pasted a valid hosts file into the textarea, it will be converted into BIND zone file format, and presented below the textarea. Or, if you prefer, you can upload a hosts file instead. The textarea takes preference though, so if you try uploading both you'll only get results from the stuff from there.
Notes:
<ip address> <hostname> [hostname] [hostname] [...]Where [hostname]s in square brackets are optional. So, something like this:
127.0.0.1 example.net example.org
127.0.0.1 www.example.com
... etc...