#146 Add --no-dns-lookup to ipa-replica-install
Closed: Fixed None Opened 13 years ago by rcritten.

We have a --no-dns-lookup option when installing the server but not a replica. We should add this to ipa-replica-install.


This problem was reported in IRC as the replica installer not continuing if the hostname cannot be looked up. I can't reproduce this but adding the option seems to be the right thing to do anyway.

My hostname isn't defined in DNS or /etc/hosts:

host panther.example.com

Host panther.example.com not found: 3(NXDOMAIN)

dig panther.example.com

; <<>> DiG 9.6.2-P2-RedHat-9.6.2-5.P2.fc12 <<>> panther.example.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 23115
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;panther.example.com. IN A

;; AUTHORITY SECTION:
example.com. 86400 IN SOA zippy.example.com. root.zippy.example.com. 11 3600 900 3600000 86400

;; Query time: 3 msec
;; SERVER: 192.168.166.1#53(192.168.166.1)
;; WHEN: Fri Sep 10 17:54:21 2010
;; MSG SIZE rcvd: 84

Before the patch:

ipa-replica-install replica-info-panther.example.com.gpg

Directory Manager (existing master) password:

Warning: Hostname (panther.example.com) not found in DNS
...

With the patch:

ipa-replica-install replica-info-panther.example.com.gpg --no-host-dns

Directory Manager (existing master) password:

Warning: skipping DNS resolution of host panther.example.com
...

add no-host-dns option to ipa-replica-install
freeipa-527-install.patch

Metadata Update from @rcritten:
- Issue assigned to rcritten
- Issue set to the milestone: FreeIPA 2.0 - 2010/09

7 years ago

Login to comment on this ticket.

Metadata