test bind before moving to production

Matus UHLAR - fantomas uhlar at fantomas.sk
Fri Jul 4 10:17:48 UTC 2014


>Am 04.07.2014 04:29, schrieb brian:
>> I can't get this to work.  I'm trying to use the test url <tst.com>.
>> When I open it in my browser, I get a server not found error.
>>
>> In /etc/resolv.conf I changed nameserver 127.0.0.1
>>
>> I created the file /var/named/tst.com.zone and added:
>> @       IN      NS      ns.example.com.
>> ns      IN      A       127.0.0.1

On 04.07.14 11:36, Reindl Harald wrote:
>there is no "tst.com" in that zone.file

actually, there is - the "@" means the current origin (which is the zone name
from config file definition unless you override it).
But it only contains NS record, no A (or AAAA)

>there is just "ns.tst.com" pointing to 127.0.0.1

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Your mouse has moved. Windows NT will now restart for changes to take
to take effect. [OK]


More information about the bind-users mailing list