← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1904559] [NEW] Designate driver: allow_reverse_dns_lookup doesn't works if dns_domain zone wasn't created

 

Public bug reported:

Designate driver: allow_reverse_dns_lookup doesn't works if dns_domain
zone wasn't created.

I want to create PTR record for IP, if dns_domain zone was not created
in designate.

# setting up dns for port
openstack port set --dns-name smtp --dns-domain company.com. 545f1e96-39ea-4ce9-8119-a9044c94e871

# getting error
ERROR neutron.plugins.ml2.extensions.dns_integration neutron_lib.exceptions.dns.DNSDomainNotFound: Domain company.com. not found in the external DNS service

Sometimes I don't want (or do not have access) to create zone
company.com, but need PTR record for IP, usually for smtp server
working.

I can offer my fix for
neutron/services/externaldns/drivers/designate/driver.py, if it is
acceptable.

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1904559

Title:
  Designate driver: allow_reverse_dns_lookup doesn't works if dns_domain
  zone wasn't created

Status in neutron:
  New

Bug description:
  Designate driver: allow_reverse_dns_lookup doesn't works if dns_domain
  zone wasn't created.

  I want to create PTR record for IP, if dns_domain zone was not created
  in designate.

  # setting up dns for port
  openstack port set --dns-name smtp --dns-domain company.com. 545f1e96-39ea-4ce9-8119-a9044c94e871

  # getting error
  ERROR neutron.plugins.ml2.extensions.dns_integration neutron_lib.exceptions.dns.DNSDomainNotFound: Domain company.com. not found in the external DNS service

  Sometimes I don't want (or do not have access) to create zone
  company.com, but need PTR record for IP, usually for smtp server
  working.

  I can offer my fix for
  neutron/services/externaldns/drivers/designate/driver.py, if it is
  acceptable.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1904559/+subscriptions