test bind before moving to production

Reindl Harald h.reindl at thelounge.net
Fri Jul 4 10:25:34 UTC 2014


Am 04.07.2014 12:17, schrieb Matus UHLAR - fantomas:
> 
>> 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 

tell me something new :-)

[root at ns2:~]$ ls named/zones/ | wc -l
521

> But it only contains NS record, no A (or AAAA)

and so there is no "tst.com" in that zone.file as i said

@      IN      A       127.0.0.1

would be the A record


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 246 bytes
Desc: OpenPGP digital signature
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20140704/4edc3202/attachment.bin>


More information about the bind-users mailing list