Quantcast

warning: hostname foo.bar.us does not resolve to address IP-Adresse : Temporary failure in name resolution

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

warning: hostname foo.bar.us does not resolve to address IP-Adresse : Temporary failure in name resolution

arne110
Hallo und danke für deine Antwort.

> du hast ja schon reject_unknown_reverse_client_hostname in deiner
> config, ich könnte mir nur vorstellen, dass irgendwo in
> check_client_access hash:/etc/postfix/smtpd_access,
> check_client_access hash:/etc/postfix/tld_access,
> ein whitelisting erfolgt das nicht beabsichtigt ist?

Ich habe meine withlists alle auf die Möglichkeiten hin geprüft, jedoch keinen Fehleintrag gefunden.
Erst nachdem ich die IP in meine Liste smtpd_access hinterlegt hatte wurde diese wie gewünscht blockiert. Aber da sehe ich mich "Don Quijote" vor der Windmühle wenn ich das immer befüllen darf ;)

Jetzt habe ich einen neuen Fall aus Received: from xpijn.yandex.ru (unknown [14.162.204.43]):

Apr 25 12:10:55 MAIL-GATEWAY postfix/smtpd[15724]: warning: hostname static.vnpt.vn does not resolve to address 14.162.204.43
Apr 25 12:10:55 MAIL-GATEWAY postfix/smtpd[15724]: connect from unknown[14.162.204.43]
Apr 25 12:10:59 MAIL-GATEWAY postfix/smtpd[15724]: 6D52E1CA04A: client=unknown[14.162.204.43]
Apr 25 12:11:00 MAIL-GATEWAY postfix/cleanup[15746]: 6D52E1CA04A: message-id=<[hidden email]>
Apr 25 12:11:00 MAIL-GATEWAY postfix/qmgr[10223]: 6D52E1CA04A: from=<[hidden email]>, size=1058, nrcpt=1 (queue active)
Apr 25 12:11:00 MAIL-GATEWAY amavis[14080]: (14080-19) LMTP :10024 /var/amavis/tmp/amavis-20170425T112447-14080-FCNjE3M5: <[hidden email]> -> <[hidden email]> SIZE=1058 Received: from Domain.de ([127.0.0.1]) by localhost (Domain.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP for <[hidden email]>; Tue, 25 Apr 2017 12:11:00 +0200 (CEST)
Apr 25 12:11:00 MAIL-GATEWAY amavis[14080]: (14080-19) Checking: BSF2-kx5ntXW [14.162.204.43] <[hidden email]> -> <[hidden email]>
Apr 25 12:11:01 MAIL-GATEWAY postfix/smtpd[15724]: disconnect from unknown[14.162.204.43] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Apr 25 12:11:01 MAIL-GATEWAY amavis[14080]: (14080-19) spam-tag, <[hidden email]> -> <[hidden email]>, No, score=2.213 required=3 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E8_51_100=1.886, RAZOR2_CHECK=0.922, RDNS_NONE=0.793, T_PDS_FROM_2_EMAILS=0.01, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Apr 25 12:11:01 MAIL-GATEWAY postfix/smtpd[15749]: connect from localhost[127.0.0.1]
Apr 25 12:11:01 MAIL-GATEWAY postfix/smtpd[15749]: BEC5A1CA051: client=localhost[127.0.0.1], orig_queue_id=6D52E1CA04A, orig_client=unknown[14.162.204.43]
Apr 25 12:11:01 MAIL-GATEWAY postfix/cleanup[15746]: BEC5A1CA051: message-id=<[hidden email]>
Apr 25 12:11:01 MAIL-GATEWAY postfix/smtpd[15749]: disconnect from localhost[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=1 data=1 quit=1 commands=6
Apr 25 12:11:01 MAIL-GATEWAY postfix/qmgr[10223]: BEC5A1CA051: from=<[hidden email]>, size=1835, nrcpt=1 (queue active)
Apr 25 12:11:01 MAIL-GATEWAY amavis[14080]: (14080-19) BSF2-kx5ntXW FWD from <[hidden email]> -> <[hidden email]>, BODY=7BIT 250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as BEC5A1CA051
Apr 25 12:11:01 MAIL-GATEWAY amavis[14080]: (14080-19) Passed CLEAN {RelayedInbound}, [14.162.204.43]:49371 [14.162.204.43] <[hidden email]> -> <[hidden email]>, Queue-ID: 6D52E1CA04A, Message-ID: <[hidden email]>, mail_id: BSF2-kx5ntXW, Hits: 2.213, size: 1058, queued_as: BEC5A1CA051, 906 ms
Apr 25 12:11:01 MAIL-GATEWAY amavis[14080]: (14080-19) TIMING-SA [total 833 ms, cpu 250 ms] - parse: 0.79 (0.1%), extract_message_metadata: 10 (1.2%), get_uri_detail_list: 0.70 (0.1%), tests_pri_-1000: 2.7 (0.3%), tests_pri_-950: 0.77 (0.1%), tests_pri_-900: 0.89 (0.1%), tests_pri_-400: 11 (1.4%), check_bayes: 10 (1.3%), b_tokenize: 3.3 (0.4%), b_tok_get_all: 3.0 (0.4%), b_comp_prob: 1.88 (0.2%), b_tok_touch_all: 0.15 (0.0%), b_finish: 0.67 (0.1%), tests_pri_0: 748 (89.7%), check_dkim_signature: 0.41 (0.0%), check_dkim_adsp: 82 (9.9%), check_spf: 0.22 (0.0%), check_pyzor: 0.10 (0.0%), check_razor2: 614 (73.7%), tests_pri_500: 45 (5.5%), poll_dns_idle: 39 (4.7%), get_report: 0.77 (0.1%)
Apr 25 12:11:01 MAIL-GATEWAY postfix/lmtp[15747]: 6D52E1CA04A: to=<[hidden email]>, relay=127.0.0.1[127.0.0.1]:10024, delay=4.5, delays=3.6/0/0/0.91, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as BEC5A1CA051)
Apr 25 12:11:01 MAIL-GATEWAY amavis[14080]: (14080-19) size: 1058, TIMING [total 910 ms, cpu 277 ms, AM-cpu 27 ms, SA-cpu 250 ms] - SMTP greeting: 1.6 (0%)0, SMTP LHLO: 0.6 (0%)0, SMTP pre-MAIL: 0.7 (0%)0, SMTP pre-DATA-flush: 2.0 (0%)1, SMTP DATA: 38 (4%)5, check_init: 0.4 (0%)5, digest_hdr: 0.3 (0%)5, digest_body: 0.1 (0%)5, collect_info: 1.3 (0%)5, check_header: 1.0 (0%)5, AV-scan-1: 9 (1%)6, spam-wb-list: 0.6 (0%)6, SA msg read: 0.5 (0%)6, SA parse: 1.1 (0%)6, SA check: 830 (91%)97, decide_mail_destiny: 4.8 (1%)98, notif-quar: 0.4 (0%)98, fwd-connect: 4.1 (0%)98, fwd-xforward: 0.7 (0%)98, fwd-mail-pip: 1.8 (0%)99, fwd-rcpt-pip: 0.1 (0%)99, fwd-data-chkpnt: 0.0 (0%)99, write-header: 0.3 (0%)99, fwd-data-contents: 0.0 (0%)99, fwd-end-chkpnt: 1.6 (0%)99, prepare-dsn: 0.6 (0%)99, report: 1.4 (0%)99, main_log_entry: 4.8 (1%)100, update_snmp: 2.1 (0%)100, SMTP pre-response: 0.3 (0%)100, SMTP response: 0.2 (0%)100, unlink-1-files: 0.2 (0%)100, rundown: 0.7 (0%)100
Apr 25 12:11:01 MAIL-GATEWAY amavis[14080]: (14080-19) size: 1058, RUSAGE minflt=39+0, majflt=0+0, nswap=0+0, inblock=0+0, oublock=328+0, msgsnd=0+0, msgrcv=0+0, nsignals=0+0, nvcsw=24+0, nivcsw=1+0, maxrss=99704+0, ixrss=0+0, idrss=0+0, isrss=0+0, utime=0.267+0.000, stime=0.010+0.000
Apr 25 12:11:01 MAIL-GATEWAY postfix/qmgr[10223]: 6D52E1CA04A: removed
Apr 25 12:11:01 MAIL-GATEWAY postfix/smtp[15750]: BEC5A1CA051: to=<[hidden email]>, relay=MAIL-SERVER-IP[MAIL-SERVER-IP]:PORT, delay=0.05, delays=0/0/0/0.04, dsn=2.6.0, status=sent (250 2.6.0  <[hidden email]> Queued mail for delivery)
Apr 25 12:11:01 MAIL-GATEWAY postfix/qmgr[10223]: BEC5A1CA051: removed

Ich habe so das Gefühl, dass mein DNS nicht schnell genügt auf die Anfrage reagiert und er diese dann entsprechend einfach weiter verarbeitet, was aber echt seltsam ist. Hatte das Problem noch nie, erst seit einer jetzt schon längeren Zeit. Zumal <[hidden email]> definitiv nicht aus "static.vnpt.vn does not resolve to address 14.162.204.43" kommen kann.

Ich komm nicht weiter mit diesem Problem, forste schon alle Seiten ab bzgl diesen Fehlers.

VG
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: warning: hostname foo.bar.us does not resolve to address IP-Adresse : Temporary failure in name resolution

Sebastian Wiesinger
* [hidden email] <[hidden email]> [2017-04-25 12:45]:
> Ich habe so das Gefühl, dass mein DNS nicht schnell genügt auf die
> Anfrage reagiert und er diese dann entsprechend einfach weiter
> verarbeitet, was aber echt seltsam ist. Hatte das Problem noch nie,
> erst seit einer jetzt schon längeren Zeit. Zumal
> <[hidden email]> definitiv nicht aus "static.vnpt.vn
> does not resolve to address 14.162.204.43" kommen kann.

Was hat denn die Mailadresse mit der Client-IP zu tun?

In dem Fall:

$ host 14.162.204.43
43.204.162.14.in-addr.arpa domain name pointer static.vnpt.vn.
$ host static.vnpt.vn.
static.vnpt.vn has address 203.162.0.78

Da hat Postfix also ganz recht, PTR<->A passt nicht zusammen.  was
steht denn in den beiden check_client_access Listen genau drin?

Gruß

Sebastian

--
GPG Key: 0x93A0B9CE (F4F6 B1A3 866B 26E9 450A  9D82 58A2 D94A 93A0 B9CE)
'Are you Death?' ... IT'S THE SCYTHE, ISN'T IT? PEOPLE ALWAYS NOTICE THE SCYTHE.
            -- Terry Pratchett, The Fifth Elephant
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

AW: warning: hostname foo.bar.us does not resolve to address IP-Adresse : Temporary failure in name resolution

Hoyer-Reuther, Christian
In reply to this post by arne110
Hallo,

den Log-Eintrag "warning: hostname .* does not resolve to address .*" siehst Du, wenn reject_unknown_client_hostname _nicht_ gesetzt ist. Dieses ist restriktiver als reject_unknown_reverse_client_hostname, welches Du verwendest. Auszug Postfix-Doku:

reject_unknown_client_hostname (with Postfix < 2.3: reject_unknown_client)
Reject the request when 1) the client IP address->name mapping fails, 2) the name->address mapping fails, or 3) the name->address mapping does not match the client IP address.
This is a stronger restriction than the reject_unknown_reverse_client_hostname feature, which triggers only under condition 1) above.

Christian

-----Ursprüngliche Nachricht-----
Von: Postfixbuch-users [mailto:[hidden email]] Im Auftrag von [hidden email]
Gesendet: Dienstag, 25. April 2017 12:45
An: [hidden email]
Betreff: warning: hostname foo.bar.us does not resolve to address IP-Adresse : Temporary failure in name resolution

Hallo und danke für deine Antwort.

> du hast ja schon reject_unknown_reverse_client_hostname in deiner
> config, ich könnte mir nur vorstellen, dass irgendwo in
> check_client_access hash:/etc/postfix/smtpd_access,
> check_client_access hash:/etc/postfix/tld_access,
> ein whitelisting erfolgt das nicht beabsichtigt ist?

Ich habe meine withlists alle auf die Möglichkeiten hin geprüft, jedoch keinen Fehleintrag gefunden.
Erst nachdem ich die IP in meine Liste smtpd_access hinterlegt hatte wurde diese wie gewünscht blockiert. Aber da sehe ich mich "Don Quijote" vor der Windmühle wenn ich das immer befüllen darf ;)

Jetzt habe ich einen neuen Fall aus Received: from xpijn.yandex.ru (unknown [14.162.204.43]):

Apr 25 12:10:55 MAIL-GATEWAY postfix/smtpd[15724]: warning: hostname static.vnpt.vn does not resolve to address 14.162.204.43
Apr 25 12:10:55 MAIL-GATEWAY postfix/smtpd[15724]: connect from unknown[14.162.204.43]
Apr 25 12:10:59 MAIL-GATEWAY postfix/smtpd[15724]: 6D52E1CA04A: client=unknown[14.162.204.43]
Apr 25 12:11:00 MAIL-GATEWAY postfix/cleanup[15746]: 6D52E1CA04A: message-id=<[hidden email]>
Apr 25 12:11:00 MAIL-GATEWAY postfix/qmgr[10223]: 6D52E1CA04A: from=<[hidden email]>, size=1058, nrcpt=1 (queue active)
Apr 25 12:11:00 MAIL-GATEWAY amavis[14080]: (14080-19) LMTP :10024 /var/amavis/tmp/amavis-20170425T112447-14080-FCNjE3M5: <[hidden email]> -> <[hidden email]> SIZE=1058 Received: from Domain.de ([127.0.0.1]) by localhost (Domain.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP for <[hidden email]>; Tue, 25 Apr 2017 12:11:00 +0200 (CEST)
Apr 25 12:11:00 MAIL-GATEWAY amavis[14080]: (14080-19) Checking: BSF2-kx5ntXW [14.162.204.43] <[hidden email]> -> <[hidden email]>
Apr 25 12:11:01 MAIL-GATEWAY postfix/smtpd[15724]: disconnect from unknown[14.162.204.43] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Apr 25 12:11:01 MAIL-GATEWAY amavis[14080]: (14080-19) spam-tag, <[hidden email]> -> <[hidden email]>, No, score=2.213 required=3 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E8_51_100=1.886, RAZOR2_CHECK=0.922, RDNS_NONE=0.793, T_PDS_FROM_2_EMAILS=0.01, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Apr 25 12:11:01 MAIL-GATEWAY postfix/smtpd[15749]: connect from localhost[127.0.0.1]
Apr 25 12:11:01 MAIL-GATEWAY postfix/smtpd[15749]: BEC5A1CA051: client=localhost[127.0.0.1], orig_queue_id=6D52E1CA04A, orig_client=unknown[14.162.204.43]
Apr 25 12:11:01 MAIL-GATEWAY postfix/cleanup[15746]: BEC5A1CA051: message-id=<[hidden email]>
Apr 25 12:11:01 MAIL-GATEWAY postfix/smtpd[15749]: disconnect from localhost[127.0.0.1] ehlo=1 xforward=1 mail=1 rcpt=1 data=1 quit=1 commands=6
Apr 25 12:11:01 MAIL-GATEWAY postfix/qmgr[10223]: BEC5A1CA051: from=<[hidden email]>, size=1835, nrcpt=1 (queue active)
Apr 25 12:11:01 MAIL-GATEWAY amavis[14080]: (14080-19) BSF2-kx5ntXW FWD from <[hidden email]> -> <[hidden email]>, BODY=7BIT 250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as BEC5A1CA051
Apr 25 12:11:01 MAIL-GATEWAY amavis[14080]: (14080-19) Passed CLEAN {RelayedInbound}, [14.162.204.43]:49371 [14.162.204.43] <[hidden email]> -> <[hidden email]>, Queue-ID: 6D52E1CA04A, Message-ID: <[hidden email]>, mail_id: BSF2-kx5ntXW, Hits: 2.213, size: 1058, queued_as: BEC5A1CA051, 906 ms
Apr 25 12:11:01 MAIL-GATEWAY amavis[14080]: (14080-19) TIMING-SA [total 833 ms, cpu 250 ms] - parse: 0.79 (0.1%), extract_message_metadata: 10 (1.2%), get_uri_detail_list: 0.70 (0.1%), tests_pri_-1000: 2.7 (0.3%), tests_pri_-950: 0.77 (0.1%), tests_pri_-900: 0.89 (0.1%), tests_pri_-400: 11 (1.4%), check_bayes: 10 (1.3%), b_tokenize: 3.3 (0.4%), b_tok_get_all: 3.0 (0.4%), b_comp_prob: 1.88 (0.2%), b_tok_touch_all: 0.15 (0.0%), b_finish: 0.67 (0.1%), tests_pri_0: 748 (89.7%), check_dkim_signature: 0.41 (0.0%), check_dkim_adsp: 82 (9.9%), check_spf: 0.22 (0.0%), check_pyzor: 0.10 (0.0%), check_razor2: 614 (73.7%), tests_pri_500: 45 (5.5%), poll_dns_idle: 39 (4.7%), get_report: 0.77 (0.1%)
Apr 25 12:11:01 MAIL-GATEWAY postfix/lmtp[15747]: 6D52E1CA04A: to=<[hidden email]>, relay=127.0.0.1[127.0.0.1]:10024, delay=4.5, delays=3.6/0/0/0.91, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as BEC5A1CA051)
Apr 25 12:11:01 MAIL-GATEWAY amavis[14080]: (14080-19) size: 1058, TIMING [total 910 ms, cpu 277 ms, AM-cpu 27 ms, SA-cpu 250 ms] - SMTP greeting: 1.6 (0%)0, SMTP LHLO: 0.6 (0%)0, SMTP pre-MAIL: 0.7 (0%)0, SMTP pre-DATA-flush: 2.0 (0%)1, SMTP DATA: 38 (4%)5, check_init: 0.4 (0%)5, digest_hdr: 0.3 (0%)5, digest_body: 0.1 (0%)5, collect_info: 1.3 (0%)5, check_header: 1.0 (0%)5, AV-scan-1: 9 (1%)6, spam-wb-list: 0.6 (0%)6, SA msg read: 0.5 (0%)6, SA parse: 1.1 (0%)6, SA check: 830 (91%)97, decide_mail_destiny: 4.8 (1%)98, notif-quar: 0.4 (0%)98, fwd-connect: 4.1 (0%)98, fwd-xforward: 0.7 (0%)98, fwd-mail-pip: 1.8 (0%)99, fwd-rcpt-pip: 0.1 (0%)99, fwd-data-chkpnt: 0.0 (0%)99, write-header: 0.3 (0%)99, fwd-data-contents: 0.0 (0%)99, fwd-end-chkpnt: 1.6 (0%)99, prepare-dsn: 0.6 (0%)99, report: 1.4 (0%)99, main_log_entry: 4.8 (1%)100, update_snmp: 2.1 (0%)100, SMTP pre-response: 0.3 (0%)100, SMTP response: 0.2 (0%)100, unlink-1-files: 0.2 (0%)100, rundown: 0.7 (0%)100
Apr 25 12:11:01 MAIL-GATEWAY amavis[14080]: (14080-19) size: 1058, RUSAGE minflt=39+0, majflt=0+0, nswap=0+0, inblock=0+0, oublock=328+0, msgsnd=0+0, msgrcv=0+0, nsignals=0+0, nvcsw=24+0, nivcsw=1+0, maxrss=99704+0, ixrss=0+0, idrss=0+0, isrss=0+0, utime=0.267+0.000, stime=0.010+0.000
Apr 25 12:11:01 MAIL-GATEWAY postfix/qmgr[10223]: 6D52E1CA04A: removed
Apr 25 12:11:01 MAIL-GATEWAY postfix/smtp[15750]: BEC5A1CA051: to=<[hidden email]>, relay=MAIL-SERVER-IP[MAIL-SERVER-IP]:PORT, delay=0.05, delays=0/0/0/0.04, dsn=2.6.0, status=sent (250 2.6.0  <[hidden email]> Queued mail for delivery)
Apr 25 12:11:01 MAIL-GATEWAY postfix/qmgr[10223]: BEC5A1CA051: removed

Ich habe so das Gefühl, dass mein DNS nicht schnell genügt auf die Anfrage reagiert und er diese dann entsprechend einfach weiter verarbeitet, was aber echt seltsam ist. Hatte das Problem noch nie, erst seit einer jetzt schon längeren Zeit. Zumal <[hidden email]> definitiv nicht aus "static.vnpt.vn does not resolve to address 14.162.204.43" kommen kann.

Ich komm nicht weiter mit diesem Problem, forste schon alle Seiten ab bzgl diesen Fehlers.

VG
Loading...