DNS resolution not working for private domain
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Oleksiy Molchanov |
Bug Description
Ennvironment:
{"build_id": "2014-09-
Steps to reproduce:
-a functionnal external dns server serving mydomain.local and also forwarding for internet name resolution
-a host defined in this domain : ex. puppet.
-install fuel and specify:
domain: openstack.
search domain: openstack.
internal name server: 10.1.1.4, 10.1.1.2
-deploy nodes on Ubuntu 12.04
-ssh to node
-ping puppet.
Expected result:
Fuel server should be able to resolve hosts in mydomain.local
Additional info:
Fuel server is able to communicate with dns server but the local dnsmasq server seems unable to resolve anything in mydomain.local
[root@fuel ~]# cat /etc/dnsmasq.
search openstack.
domain openstack.
nameserver 10.1.1.4
nameserver 10.1.1.2
[root@fuel ~]# host puppet.cptaq.local 10.1.1.4
Using domain server:
Name: 10.1.1.4
Address: 10.1.1.4#53
Aliases:
puppet.
[root@fuel ~]# host www.google.com 10.20.0.2
Using domain server:
Name: 10.20.0.2
Address: 10.20.0.2#53
Aliases:
www.google.com has address 74.125.131.106
www.google.com has address 74.125.131.105
www.google.com has address 74.125.131.104
www.google.com has address 74.125.131.99
www.google.com has address 74.125.131.103
www.google.com has address 74.125.131.147
www.google.com has IPv6 address 2607:f8b0:
[root@fuel ~]# host puppet.
Using domain server:
Name: 10.20.0.2
Address: 10.20.0.2#53
Aliases:
Host puppet.
Changed in fuel: | |
assignee: | nobody → Fuel Library Team (fuel-library) |
milestone: | none → 6.0 |
Changed in fuel: | |
importance: | Undecided → High |
Changed in fuel: | |
status: | Confirmed → Triaged |
Changed in fuel: | |
assignee: | Stanislaw Bogatkin (sbogatkin) → Oleksiy Molchanov (omolchanov) |
Changed in fuel: | |
status: | Triaged → In Progress |
From what I can see, ".local" queries are not forwarded to the external dns :
[root@7ea001b19bc1 ~]# host puppet. mydomain. local. mydomain. local. not found: 3(NXDOMAIN)
Host puppet.
[root@7ea001b19bc1 ~]# tail /var/log/ dnsmasq. log
Sep 26 17:03:17 dnsmasq[841]: config puppet. mydomain. local is NXDOMAIN-IPv4 mydomain. local from 172.17.42.1
Sep 26 17:03:17 dnsmasq[841]: query[A] puppet.