Waitman Gobble gobble.wa at gmail.com
Mon Jan 2 00:26:40 UTC 2012

> Sure, like you say, it is possible "running" BIND and Apache.
> But, is it possible|convenient that the name server "reside" in
> the same machine that host (with apache) the domain names served
> by it?  Perhaps you find stupid my question, but believe me, I
> am lost :-).
> Or to simplify the question, what is needed to run a DNS?
> What I know:
> Edit the zone files.
> Run bind.
> Register the names ns1.mysite.com, ns2..., (some trick here?)
> Obviously adding them to the registrar of the domains served.
>        Walter
Yes, you can run BIND on the same FreeBSD machine as your web server.
You have to have your nameserver listed with internic (for .com and .net -
ie, your nameserver has to show up in the NAMESERVER whois (note: different
than DOMAIN whois) on http://www.internic.net/whois.html) and also for each
TLD you want to provide service for (ie, .org, .mobi, etc etc) .
If you are using opensrs it's pretty simple to list your nameserver with
local and foreign tlds, but with other Registrars - you'd have to check
into the details. It's generally easier to use a local domain for the
nameservers (ie, ns1.example.mobi for .mobi domains.) but it is also
possible to use foreign nameservers (ie, ns1.example.com to resolve
www.example.mobi - is considered "foreign")


More information about the freebsd-questions mailing list