On Sat, May 27, 2017 at 09:11:23AM +0800, Rui Mao wrote:
> I've set up a caching-only name server. But I'd like to know if it 
> can do following things.
> 
>  
> 
> 1. Resolve test.a.com to 192.168.1.1
> 
> 2. Still forward other *.a.com to outside DNS servers

You can make a zone of however many labels you wish, but it's not 
perfect in ONLY affecting that one label.  For example, if your zone 
was "a.test.example.com" you would also be authoritative for any 
additional labels, such as "this.is.a.test.example.com."  Those 
wouldn't be resolved theough the regular authority for example.com 
(or whatever subzone might be delegated.)

This is, however, a feature of dnsmasq.  Simply list the name and 
address in /etc/hosts and that name [only] is served out via DNS to 
your local resolver clients.
-- 
  http://rob0.nodns4.us/
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to