Re: Interesting behavior with wildcard domains

2016-02-24 Thread Warren Kumari
On Wed, Feb 24, 2016 at 12:30 PM Mark Andrews  wrote:

>
> In message , Mathew Ian Eis
> write
> s:
> Illegal character '-' in input file.
> > Hi BIND,
> >
> > Ive encountered (quite by accident) an interesting behavior in BIND with
> > wildcard domains:
> >
> > The relevant configuration is a zone; e.g. bar.com, with what Ill call a
> > second level wildcard host, e.g. *.foo.bar.com A 10.10.10.5 in that
> zone.
> > (as opposed to what might be considered the more usual wildcard host
> > record of *.bar.com).
> >
> > buz.foo.bar.com returns A 10.10.10.5 as expected.
> >
> > However, a query for foo.bar.com returns NOERR with zero results, when I
> > would expect a NXDOMAIN.
>
> Why?  If *.foo.bar.com exists then foo.bar.com, bar.com and com all exist.
>
> > Anyone know if the NOERR with zero results is the expected / correct
> > behavior?
>
> It is the expected behaviour
>

Nah, it is the *correct* behavior, fairly clearly it is not the *expected*
behavior :-P

W
(sorry, I'm feeling ornery today...)




> > Thanks in advance,
> >
> > Mathew Eis
> > Northern Arizona University
> > Information Technology Services
> >
> ___
> 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
>
___
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

how to put a host to a (just in parent) subdomain

2016-02-24 Thread lejeczek

hi everybody

I'm trying something simple, or I thought it'd be simple, I 
realize my question should rather go towards DHCPD 
community, but I feel like I might be missing something on 
DNS part.
for organizational, or for test if you like, purposes I 
would like to have


subdomain.inparent.zone (so no delegations, just in parent 
zone) - this works with nsupdate simply:


> zone inparent.zone.
> update add host.subdomain.inparent.zone 86400 in a 
10.10.1.10

> send
$ host host.subdomain
and it resolves fine, and if I fix my resolv.conf 
respectively it even resolves host


is above correct and nothing else in terms of records & 
configs is required in order to add a subdomain to already 
existing parent?
and if so, would you know if it's hosts(dhcpd clients) that 
need specific configs or just DHCPd does the lot?

I should mention it's all dnssec.

many thanks.
___
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