Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1365676 - add host query to foreman-debug to verify forward/reverse dns
Summary: add host query to foreman-debug to verify forward/reverse dns
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Foreman Debug
Version: 6.1.8
Hardware: x86_64
OS: Linux
low
low
Target Milestone: Unspecified
Assignee: Chris Roberts
QA Contact: Adam Ruzicka
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-09 20:14 UTC by Chris Roberts
Modified: 2019-09-25 20:34 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:51:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 15921 0 None None None 2016-08-09 20:14:52 UTC

Description Chris Roberts 2016-08-09 20:14:52 UTC
Host bypasses /etc/hosts and uses the dns servers in /etc/resolv.conf

Lets add a host command output of the fqdn of satellite to verify it maps back to the katello server.

Comment 1 Chris Roberts 2016-08-09 20:15:57 UTC
https://github.com/theforeman/foreman/pull/3711

Comment 4 Adam Ruzicka 2017-08-16 10:37:14 UTC
Verified.
Version Tested: Satellite-6.3 Snap 11
Package versions:
foreman-1.15.3-1.el7sat.noarch
satellite-6.3.0-16.0.beta.el7sat.noarch
foreman-debug-1.15.3-1.el7sat.noarch

# foreman-debug                                                                                                                                      
Processing... (takes a while)

 HOSTNAME: snap11.satellite63.centos7.lxc
       OS: redhat
  RELEASE: CentOS Linux release 7.3.1611 (Core) 
  FOREMAN: 1.15.3
     RUBY: ruby 2.0.0p648 (2015-12-16) [x86_64-linux]
   PUPPET: 3.8.6


A debug file has been created: /tmp/foreman-debug-U88or.tar.xz (578652 bytes)

To upload a tarball to our secure site, please use the -u option.

# cd /tmp/foreman-debug-U88or

# ls  |grep hostname_dns
hostname_dns_check

# cat hostname_dns_check
COMMAND> host snap11.satellite63.centos7.lxc

Host snap11.satellite63.centos7.lxc not found: 3(NXDOMAIN)

Comment 5 Satellite Program 2018-02-21 16:51:07 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
> 
> For information on the advisory, and where to find the updated files, follow the link below.
> 
> If the solution does not work for you, open a new bug report.
> 
> https://access.redhat.com/errata/RHSA-2018:0336


Note You need to log in before you can comment on or make changes to this bug.