DDNS with extra vhosts...

Grant Taylor gtaylor at tnetconsulting.net
Sun Sep 29 20:23:34 UTC 2019


On 9/29/19 11:22 AM, John Robson via bind-users wrote:
> Hi all,

Hi,

> BUT - what I'd like to do is have `*.foo.example.org` (or even a 
> specific listing of subdomains) point to that IP as well - to enable 
> the various vhost based services on the test machines to be accessed 
> without having to mess with local hosts files or further mess with 
> DNS each time.

Okay....

> e.g. test.foo.example.org should point to the same IP as 
> foo.example.org (heck, could even be a cname)

ACK

> Is there some simple configuration I am missing - or is this not 
> possible?

I know what I'd try to do manually.

Configure a new RPZ record that takes *.foo.example.org. and CNAMEs it 
to foo.example.org.

> Is there a better way to get to where I want to be*?

I don't know how to automatically do this.  Perhaps the scripting that 
Crist mentioned could do this.

> * Previously we had all the test boxes in one /24, so we had `lab123` 
> for the box whose IP ended in 123... but we're now in a /23, and that 
> gets a lot messier to handle with fixed names (not particularly keen 
> on the idea of test341 being for the top half ending in 341-256=85 - 
> nor am I keen on 5 digit test ids...)

Agreed.



-- 
Grant. . . .
unix || die

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4008 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20190929/037b5324/attachment-0001.bin>


More information about the bind-users mailing list