Navigation


Wildcard records

Tenzer

Member since: 2011-05-25 15:56

Added: 2012-08-20 16:44

Has anybody configured wildcard records with EagleDNS? I haven't found any examples of it, and haven't been able to find any working way of setting it up by looking through the dnsjava project source code.

Unlogic

Member since: 2008-01-27 20:43

Added: 2012-08-20 18:33

Hi Tenzer,

The dnsjava supports wildcard records just fine.

Adding wildcard records is very simple in Eagle DNS just put a wildcard "*" in the name of the record.

As an example I just added a record with name "*.foo" to the zone unlogic.se so you can lookup any domain starting with ".foo.unlogic.se".

Here is an example:

nslookup tenzerexample.foo.unlogic.se
Server:  gateway.nordicpeak.com
Address:  10.0.0.1

Non-authoritative answer:
Name:    tenzerexample.foo.unlogic.se
Address:  79.136.45.29

Tenzer

Member since: 2011-05-25 15:56

Added: 2012-08-20 19:52

Hmm, okay. That seems to work for me as well, both as a CNAME and as a A record. I presume the CNAME record is preferred (and perhaps the only allowed record to have wildcards for), however, the host and dig commands doesn't seem to query that per default, but that may not be a problem with browsers?

Unlogic

Member since: 2008-01-27 20:43

Added: 2012-08-26 19:30

I'm not really sure how dig handles wildcards. For the example record above I used an A record so they seem to work just fine with wildcards.