Dnsmasq forwards requests for default domain name domain.tld to upstream DNS server(s)

Bug #1411156 reported by Alexander Evseev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Bartłomiej Piotrowski
5.1.x
Fix Committed
Medium
Bartłomiej Piotrowski
6.0.x
Fix Committed
Medium
Bartłomiej Piotrowski
6.1.x
Fix Committed
Medium
Bartłomiej Piotrowski

Bug Description

# fuel --fuel-version
api: '1.0'
astute_sha: 16b252d93be6aaa73030b8100cf8c5ca6a970a91
auth_required: true
build_id: 2015-01-13_20-49-45
build_number: '26'
feature_groups:
- mirantis
fuellib_sha: 7d78c8260805f8ef347c927c9e86d9021cdd6fc2
fuelmain_sha: 4935a7680cc18fbb24df0493d761e17fba072e21
nailgun_sha: 5f91157daa6798ff522ca9f6d34e7e135f150a90
ostf_sha: 785fcc52ff59d249695dfcaf7589fe378a5af4ed
production: docker
release: 6.0.1
release_versions:
  2014.2-6.0:
    VERSION:
      api: '1.0'
      astute_sha: 16b252d93be6aaa73030b8100cf8c5ca6a970a91
      build_id: 2015-01-13_20-49-45
      build_number: '26'
      feature_groups:
      - mirantis
      fuellib_sha: 7d78c8260805f8ef347c927c9e86d9021cdd6fc2
      fuelmain_sha: 4935a7680cc18fbb24df0493d761e17fba072e21
      nailgun_sha: 5f91157daa6798ff522ca9f6d34e7e135f150a90
      ostf_sha: 785fcc52ff59d249695dfcaf7589fe378a5af4ed
      production: docker
      release: 6.0.1

Logfile of dnsmasq contains:

Jan 14 22:16:40 dnsmasq[902]: query[A] node-28.domain.tld from 172.17.42.1
Jan 14 22:16:40 dnsmasq[902]: forwarded node-28.domain.tld to 8.8.8.8
Jan 14 22:16:40 dnsmasq[902]: reply node-28.domain.tld is NXDOMAIN-IPv4

Jan 14 22:16:40 dnsmasq[902]: query[A] node-28.domain.tld.domain.tld from 172.17.42.1
Jan 14 22:16:40 dnsmasq[902]: forwarded node-28.domain.tld.domain.tld to 8.8.8.8
Jan 14 22:16:40 dnsmasq[902]: reply node-28.domain.tld.domain.tld is NXDOMAIN-IPv4

I guess that it's need to add domain "domain.tld" to dnsmasq.conf as non-forwarded like ".local":

server=/local/
server=/domain.tld/

Revision history for this message
Alexander Evseev (aevseev) wrote :
Stanislav Makar (smakar)
Changed in fuel:
assignee: nobody → Fuel Library Team (fuel-library)
milestone: none → 6.1
importance: Undecided → Medium
status: New → Triaged
tags: added: low-hanging-fruit
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Bartlomiej Piotrowski (bpiotrowski)
Changed in fuel:
status: Triaged → In Progress
Revision history for this message
Bartłomiej Piotrowski (bpiotrowski) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/148561
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=595916315bac34f044d155ae33acca1b0a422d2e
Submitter: Jenkins
Branch: master

commit 595916315bac34f044d155ae33acca1b0a422d2e
Author: Bartłomiej Piotrowski <email address hidden>
Date: Tue Jan 20 13:45:38 2015 +0100

    Do not forward DNS request for default domain to upstream server

    Closes-Bug: 1411156
    Change-Id: I1bab9c03c7c65004350325c1c09cfc4c74c5b287

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/6.0)

Fix proposed to branch: stable/6.0
Review: https://review.openstack.org/150433

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/5.1)

Fix proposed to branch: stable/5.1
Review: https://review.openstack.org/150436

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/6.0)

Reviewed: https://review.openstack.org/150433
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=2cd50cd27becfc3ad95963373071a41c7bd0e28c
Submitter: Jenkins
Branch: stable/6.0

commit 2cd50cd27becfc3ad95963373071a41c7bd0e28c
Author: Bartłomiej Piotrowski <email address hidden>
Date: Tue Jan 20 13:45:38 2015 +0100

    Do not forward DNS request for default domain to upstream server

    Closes-Bug: 1411425
    Closes-Bug: 1411156
    Change-Id: I1bab9c03c7c65004350325c1c09cfc4c74c5b287

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/5.1)

Reviewed: https://review.openstack.org/150436
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=4f7caeac3942a82f126dda7a1fa47ca582480bf9
Submitter: Jenkins
Branch: stable/5.1

commit 4f7caeac3942a82f126dda7a1fa47ca582480bf9
Author: Bartłomiej Piotrowski <email address hidden>
Date: Tue Jan 20 13:45:38 2015 +0100

    Do not forward DNS request for default domain to upstream server

    Closes-Bug: 1411425
    Closes-Bug: 1411156
    Change-Id: I1bab9c03c7c65004350325c1c09cfc4c74c5b287

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.