designate/designate/objects
Graham Hayes d72c652013 Ensure we do not pass invalid data for A records
DNSPython does not allow IPs to have leading zeros
for A records [1] and eventlet agrees [2], so we should
ensure we do not create a situation where a project can
DOS itself.

This patch uses the DNSPython method to ensure it is kept in sync

1 - https://github.com/rthalley/dnspython/blob/v1.15.0/dns/ipv4.py#L52-L54
2 - https://github.com/eventlet/eventlet/blob/v0.20.0/eventlet/support/dns/ipv4.py#L52-L54

Partial-Bug: 1760833
Change-Id: I975b18d390647de9fe11c105cd421b761f88be6c
2018-04-11 15:34:15 +01:00
..
adapters Remove translation of log messages 2018-03-14 12:54:05 -07:00
__init__.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
base.py Remove translation of log messages 2018-03-14 12:54:05 -07:00
blacklist.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
fields.py Ensure we do not pass invalid data for A records 2018-04-11 15:34:15 +01:00
floating_ip.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
pool.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
pool_also_notify.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
pool_attribute.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
pool_manager_status.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
pool_nameserver.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
pool_ns_record.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
pool_target.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
pool_target_master.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
pool_target_option.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
quota.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
record.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
recordset.py Remove translation of log messages 2018-03-14 12:54:05 -07:00
rrdata_a.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
rrdata_aaaa.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
rrdata_cname.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
rrdata_mx.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
rrdata_ns.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
rrdata_ptr.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
rrdata_soa.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
rrdata_spf.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
rrdata_srv.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
rrdata_sshfp.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
rrdata_txt.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
server.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
service_status.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
tenant.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
tld.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
tsigkey.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
validation_error.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
zone.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
zone_attribute.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
zone_export.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
zone_import.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
zone_master.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
zone_transfer_accept.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00
zone_transfer_request.py Migrate object to OVO (7) 2018-02-25 16:07:58 +00:00