Opened 11 years ago

Last modified 9 years ago

#5420 enhancement new

Add support for wildcard DNS records

Reported by: ivank Owned by:
Priority: normal Milestone:
Component: names Keywords:
Cc: ivank Branch:

Description (last modified by Richard Wall)

I couldn't get wildcard DNS records working with twisted.names. I followed names/howto/names.html and my A('*', '') did not work as expected.

There's a patch from 2004 that didn't make it into trunk (afaik):

names/howto/names.html should also be updated with an example of wildcard records.

RFC reference:

Change History (4)

comment:1 Changed 11 years ago by Jean-Paul Calderone

I'd prefer a better interface. "*" is basically how BIND configuration files work, but there's no reason Twisted Names needs to work the same way. Since the pyzone files are already Python source, we can represent the wildcard using a bit more structure instead.

This should help clean up the implementation in the authority as well (though one is probably not necessary for the other). Gross string mashing with "*." + somestr should be avoided.

comment:2 Changed 9 years ago by Andrei

What is the status for wildcard support? Bindzone wildcard seems also not supported though saying Adding IN Record * 3600 <A address= ttl=3600>

comment:3 Changed 9 years ago by Richard Wall

Here are some RFC reference to wildcard DNS records.

comment:4 Changed 9 years ago by Richard Wall

Description: modified (diff)

Added RFC references to description.

Note: See TracTickets for help on using tickets.