You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2022/01/07 05:41:00 UTC

[jira] [Assigned] (NIFI-1789) TestPutUDP testUnkownHostname fails because all hostnames resolve

     [ https://issues.apache.org/jira/browse/NIFI-1789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Handermann reassigned NIFI-1789:
--------------------------------------

    Assignee: David Handermann

> TestPutUDP testUnkownHostname fails because all hostnames resolve
> -----------------------------------------------------------------
>
>                 Key: NIFI-1789
>                 URL: https://issues.apache.org/jira/browse/NIFI-1789
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 0.6.1
>            Reporter: Andy LoPresto
>            Assignee: David Handermann
>            Priority: Major
>             Fix For: 1.15.0
>
>
> On some systems, arbitrary hostnames (e.g. {{sgfgfdgs}}) resolves to a valid IP address depending on the DNS resolution scheme. Therefore, the test, which assumes that the host does not resolve, fails. 
> {code}
> hw12203:/Users/alopresto (master) alopresto
> 🔓 0s @ 20:10:32 $ nslookup asdfsdfsdf
> Server:		192.168.1.1
> Address:	192.168.1.1#53
> Non-authoritative answer:
> Name:	asdfsdfsdf
> Address: 198.105.254.228
> Name:	asdfsdfsdf
> Address: 198.105.244.228
> hw12203:/Users/alopresto (master) alopresto
> 🔓 39s @ 20:12:24 $ dig asdfasdf
> ; <<>> DiG 9.8.3-P1 <<>> asdfasdf
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31295
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
> ;; QUESTION SECTION:
> ;asdfasdf.			IN	A
> ;; ANSWER SECTION:
> asdfasdf.		10	IN	A	198.105.254.228
> asdfasdf.		10	IN	A	198.105.244.228
> ;; Query time: 81 msec
> ;; SERVER: 192.168.1.1#53(192.168.1.1)
> ;; WHEN: Tue Apr 19 20:12:30 2016
> ;; MSG SIZE  rcvd: 58
> hw12203:/Users/alopresto (master) alopresto
> 🔓 0s @ 20:12:30 $
> {code}
> Reported on Mac OS X 10.11.4



--
This message was sent by Atlassian Jira
(v8.20.1#820001)