??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
 Udac@`sOddlmZmZmZeZidd6dgd6dd6ZdZd Zd Z dd l Z dd l m Z dd lmZd ZyFdd lZdd lZdd lZdd lZdd lZeZWn#ek re jZeZnXddlmZm Z ddl!m"Z"de#fdYZ$dZ%e&dkrKe%nd S(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatust communityt supported_bys --- module: nsupdate short_description: Manage DNS records. description: - Create, update and remove DNS records using DDNS updates version_added: "2.3" requirements: - dnspython author: "Loic Blot (@nerzhul)" options: state: description: - Manage DNS record. choices: ['present', 'absent'] default: 'present' server: description: - Apply DNS modification on this server. required: true port: description: - Use this TCP port when connecting to C(server). default: 53 version_added: 2.5 key_name: description: - Use TSIG key name to authenticate against DNS C(server) key_secret: description: - Use TSIG key secret, associated with C(key_name), to authenticate against C(server) key_algorithm: description: - Specify key algorithm used by C(key_secret). choices: ['HMAC-MD5.SIG-ALG.REG.INT', 'hmac-md5', 'hmac-sha1', 'hmac-sha224', 'hmac-sha256', 'hmac-sha384', 'hmac-sha512'] default: 'hmac-md5' zone: description: - DNS record will be modified on this C(zone). - When omitted DNS will be queried to attempt finding the correct zone. - Starting with Ansible 2.7 this parameter is optional. record: description: - Sets the DNS record to modify. When zone is omitted this has to be absolute (ending with a dot). required: true type: description: - Sets the record type. default: 'A' ttl: description: - Sets the record TTL. default: 3600 value: description: - Sets the record value. protocol: description: - Sets the transport protocol (TCP or UDP). TCP is the recommended and a more robust option. default: 'tcp' choices: ['tcp', 'udp'] version_added: 2.8 s - name: Add or modify ansible.example.org A to 192.168.1.1" nsupdate: key_name: "nsupdate" key_secret: "+bFQtBCta7j2vWkjPkAFtgA==" server: "10.1.1.1" zone: "example.org" record: "ansible" value: "192.168.1.1" - name: Add or modify ansible.example.org A to 192.168.1.1, 192.168.1.2 and 192.168.1.3" nsupdate: key_name: "nsupdate" key_secret: "+bFQtBCta7j2vWkjPkAFtgA==" server: "10.1.1.1" zone: "example.org" record: "ansible" value: ["192.168.1.1", "192.168.1.2", "192.168.1.3"] - name: Remove puppet.example.org CNAME nsupdate: key_name: "nsupdate" key_secret: "+bFQtBCta7j2vWkjPkAFtgA==" server: "10.1.1.1" zone: "example.org" record: "puppet" type: "CNAME" state: absent - name: Add 1.1.168.192.in-addr.arpa. PTR for ansible.example.org nsupdate: key_name: "nsupdate" key_secret: "+bFQtBCta7j2vWkjPkAFtgA==" server: "10.1.1.1" record: "1.1.168.192.in-addr.arpa." type: "PTR" value: "ansible.example.org." state: present - name: Remove 1.1.168.192.in-addr.arpa. PTR nsupdate: key_name: "nsupdate" key_secret: "+bFQtBCta7j2vWkjPkAFtgA==" server: "10.1.1.1" record: "1.1.168.192.in-addr.arpa." type: "PTR" state: absent s* changed: description: If module has modified record returned: success type: str record: description: DNS record returned: success type: str sample: 'ansible' ttl: description: DNS record TTL returned: success type: int sample: 86400 type: description: DNS record type returned: success type: str sample: 'CNAME' value: description: DNS record value(s) returned: success type: list sample: '192.168.1.1' zone: description: DNS record zone returned: success type: str sample: 'example.org.' dns_rc: description: dnspython return code returned: always type: int sample: 4 dns_rc_str: description: dnspython return code (string representation) returned: always type: str sample: 'REFUSED' N(tError(terror(t AnsibleModuletmissing_required_lib(t to_nativet RecordManagercB`sYeZdZdZdZdZdZdZdZdZ dZ RS( cC`s||_|jddkr|jdddkrI|jjddny)tjj|jjdj|_WnWtj j tjj tjj fk r}|jjdd|j jt|fnX|jdkr)|jjddq)n5|jd|_|jddkr)|jd7_n|jdddkr^|jdd|j|_n|jd|_|jd ry.tjji|jd |jd 6|_Wqtk r|jdd qtk r}|jdd t|qXn d|_|jd dkr$d|_n|jd |_|jjdjdkrxtt|j|jjd|_n|jjd|_d|_dS(Ntzonetrecordit.tmsgs4record must be absolute when omitting zone parametersZone resolver error (%s): %ss,Unable to find zone, dnspython returned Nonetkey_namet key_secretsMissing key_secretsTSIG key error: %st key_algorithmshmac-md5sHMAC-MD5.SIG-ALG.REG.INTttypettxttvaluei(tmoduletparamstNonet fail_jsontdnstresolvert zone_for_nametto_textRt exceptiontTimeoutt NoNameserverst NoRootSOAt __class__t__name__R tfqdnt tsigkeyringt from_texttkeyringt TypeErrortbinascii_errort algorithmtlowertlisttmapt txt_helperRtdns_rc(tselfRte((sF/usr/lib/python2.7/site-packages/ansible/modules/net_tools/nsupdate.pyt__init__s@ )*-  " !  (cC`s4|ddkr$|ddkr$|Sdjd|S(Nit"is"{text}"ttext(tformat(R2tentry((sF/usr/lib/python2.7/site-packages/ansible/modules/net_tools/nsupdate.pyR0s cC`s)d}y|jjddkrWtjj||jjdddd|jjd}n5tjj||jjdddd|jjd}Wntjjtjj fk r}|jj dd|j j t |fnHttjjfk r$}|jj dd |j j t |fnX|S( Ntprotocolttcptserverttimeouti tportRsTSIG update error (%s): %ssDNS server error: (%s): %s(RRRRtqueryR:tudpttsigt PeerBadKeytPeerBadSignatureRR$R%R t socket_errorR R!(R2tupdatetresponseR3((sF/usr/lib/python2.7/site-packages/ansible/modules/net_tools/nsupdate.pyt __do_updates89!,-cC`sitd6td6}|j}|dkr|jjrN|jjdtn|dkr|j|_|jdkrd|j|d|jj dd qtjjk rg|jj dd qXqW|j|}tjjj||_|jdkr|jrd Sd Sqd SndSdS(NR)RSRRRsRecord error: {0}itstatetabsentisvalue needed when state=presentsInvalid/malformed valuei(RRDRURR)R,tpresentRRt rdatatypetUnknownRdatatypeRR7R RYRZR[R\R1RRWR RXt ttl_changed(R2RDR3RER8((sF/usr/lib/python2.7/site-packages/ansible/modules/net_tools/nsupdate.pyRJ`s2'(&+  cC`stjj|j|jjd}y|jjddkrstjj||jjdddd|jjd}n5tjj||jjdddd|jjd}WnHt tj j fk r}|jj dd |j jt|fnX|jd j}||jjd kS( NRR9R:R;R<i R=RsDNS server error: (%s): %siRT(RRZt make_queryR&RRR>R:R?RCR R!RR$R%R tanswerRT(R2R>tlookupR3t current_ttl((sF/usr/lib/python2.7/site-packages/ansible/modules/net_tools/nsupdate.pyRds"89-( R%t __module__R4R0RYRRRNROR^RJRd(((sF/usr/lib/python2.7/site-packages/ansible/modules/net_tools/nsupdate.pyR s 1      c#C`sdddddddg}tdtd td td d d d dgdddtd tdddtd td ddddtd tdddtd tdddtdtd td dd |dddtd td ddddtd tdddtd td ddddtd td ddddtd td dddd td td d!d d!d"gdd d#t}ts|jd$td%d&tnt |j dd'kr|jd$d(nt |}i}|j d dkr|j }n"|j d d kr*|j }n|j|d) s6   C1*           1