Skip to content

Commit f613fd0

Browse files
committed
Reference a public IPv4 that has a PTR record
Public IPv6 192.240.153.117 is managed by OVH US and has a PTR 117.153.240.192.in-addr.arp record that resolves to www.rabbitmq.com. It would be nice to move to an IPv4 & IPv6 that are managed by our wider org. dig 117.153.240.192.in-addr.arpa PTR +short www.rabbitmq.com. whois 192.240.153.117 | grep -i Organiz Organization: OVH US LLC (OUL-16) cc @michaelklishin @trevormarshall
1 parent d053479 commit f613fd0

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

test/peer_discovery_dns_SUITE.erl

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,7 @@ suite() ->
4949
%% Testsuite setup/teardown.
5050
%% -------------------------------------------------------------------
5151

52-
%% peer_discovery.tests.rabbitmq.net used in the tests below
53-
%% returns three A records two of which fail our resolution process:
54-
%%
55-
%% * One does not resolve to a [typically] non-reachable IP
56-
%% * One does not support reverse lookup queries
57-
58-
-define(DISCOVERY_ENDPOINT_RECORD_A, "peer_discovery.tests.rabbitmq.net").
52+
-define(DISCOVERY_ENDPOINT_RECORD_A, "peer_discovery.tests.ipv4.rabbitmq.com").
5953

6054
-define(DISCOVERY_ENDPOINT_RECORD_AAAA, "www.v6.facebook.com").
6155

@@ -78,7 +72,7 @@ init_per_testcase(test_aaaa_record, Config) ->
7872
init_per_testcase(_Testcase, Config) ->
7973
case inet_res:lookup(?DISCOVERY_ENDPOINT_RECORD_A, in, a) of
8074
[] ->
81-
{skip, "pre-configured *.rabbitmq.net record does not resolve, skipping"};
75+
{skip, "pre-configured *.rabbitmq.com record does not resolve, skipping"};
8276
[_ | _] ->
8377
Config
8478
end.
@@ -87,7 +81,7 @@ init_per_testcase(_Testcase, Config) ->
8781
end_per_testcase(_Testcase, Config) ->
8882
case inet_res:lookup(?DISCOVERY_ENDPOINT_RECORD_A, in, a) of
8983
[] ->
90-
{skip, "pre-configured *.rabbitmq.net record does not resolve, skipping"};
84+
{skip, "pre-configured *.rabbitmq.com record does not resolve, skipping"};
9185
[_ | _] ->
9286
Config
9387
end.

0 commit comments

Comments
 (0)