Hey All,


Should the DNS forwarders be updated in /etc/named.conf? Until I manually change /etc/named.conf, can't ping the windows AD cluster: mds.xyz. Nor can I get dig to resolve the SRV records (dig SRV _ldap._tcp.mds.xyz).


IPA command below indicates that it's set to 'first' but that's not what's in /etc/named.conf file when I check. Again, it works if I change /etc/named.conf manually.

Tom K.

Living on earth is expensive, but it includes a free trip around the sun.

[root@idmipa02 network-scripts]# ipa dnsforwardzone-find mds.xyz
  Zone name: mds.xyz.
  Active zone: TRUE
  Zone forwarders:
  Forward policy: first
Number of entries returned 1
[root@idmipa02 network-scripts]# grep -i forward /etc/named.conf
        forward only;
        forwarders {
[root@idmipa02 network-scripts]# vi /etc/named.conf
[root@idmipa02 network-scripts]#
[root@idmipa02 network-scripts]#
[root@idmipa02 network-scripts]# ipactl restart
Stopping pki-tomcatd Service
Restarting Directory Service
Restarting krb5kdc Service
Restarting kadmin Service
Restarting named Service
Restarting ipa_memcached Service
Restarting httpd Service
Restarting ipa-custodia Service
Restarting ntpd Service
Restarting pki-tomcatd Service
Restarting smb Service
Restarting winbind Service
Restarting ipa-otpd Service
Restarting ipa-dnskeysyncd Service
ipa: INFO: The ipactl command was successful
[root@idmipa02 network-scripts]#
[root@idmipa02 network-scripts]#
[root@idmipa02 network-scripts]#
[root@idmipa02 network-scripts]# ping mds.xyz
PING mds.xyz ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=128 time=0.515 ms
64 bytes from icmp_seq=2 ttl=128 time=0.447 ms
--- mds.xyz ping statistics ---
2 packets transmitted, 2 received, +2 duplicates, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.447/83.695/333.339/144.132 ms
[root@idmipa02 network-scripts]# grep -i forward /etc/named.conf
        forward first;
        forwarders {
[root@idmipa02 network-scripts]# dig SRV _ldap._tcp.mds.xyz

; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.4 <<>> SRV _ldap._tcp.mds.xyz
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5407
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 4, ADDITIONAL: 6

; EDNS: version: 0, flags:; udp: 4096
;_ldap._tcp.mds.xyz.            IN      SRV

_ldap._tcp.mds.xyz.     600     IN      SRV     0 100 389 winad01.mds.xyz.
_ldap._tcp.mds.xyz.     600     IN      SRV     0 100 389 winad02.mds.xyz.

xyz.                    10876   IN      NS      generationxyz.nic.xyz.
xyz.                    10876   IN      NS      z.nic.xyz.
xyz.                    10876   IN      NS      y.nic.xyz.
xyz.                    10876   IN      NS      x.nic.xyz.

winad02.mds.xyz.        497     IN      A
winad02.mds.xyz.        497     IN      A
winad01.mds.xyz.        2902    IN      A
winad01.mds.xyz.        2902    IN      A
winad01.mds.xyz.        2902    IN      A

;; Query time: 2 msec
;; WHEN: Thu Jan 05 13:55:51 EST 2017
;; MSG SIZE  rcvd: 277

[root@idmipa02 network-scripts]#

Manage your subscription for the Freeipa-users mailing list:
Go to http://freeipa.org for more info on the project

Reply via email to