Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

small changes by Brian

  • Loading branch information...
commit 0b1d1cf2ba509457886516c8dd3af48c7c0ce747 1 parent 9566a05
@kjk kjk authored
Showing with 6 additions and 9 deletions.
  1. +6 −9 mac/MainController.m
View
15 mac/MainController.m
@@ -199,15 +199,15 @@ - (void)startTests {
[self startTraceroute:@"208.67.222.222"];
[self startTraceroute:@"208.67.220.220"];
- args = [NSArray arrayWithObject:@"myip.opendns.com"];
+ args = [NSArray arrayWithObjects: @"@208.67.222.222", @"debug.opendns.com.", @"txt", nil];
@tresni Owner
tresni added a note

For anyone wondering, this helps avoid WAN-to-LAN address translation problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
[self startTest:@"/usr/bin/dig" withArgs:args];
-
- args = [NSArray arrayWithObjects: @"@208.67.222.222", @"which.opendns.com.", @"txt", nil];
+
+ args = [NSArray arrayWithObjects: @"@208.67.222.222", @"-p", @"5353", @"debug.opendns.com.", @"txt", nil];
[self startTest:@"/usr/bin/dig" withArgs:args];
-
- args = [NSArray arrayWithObjects: @"-type=txt", @"-port=5353", @"which.opendns.com.", @"208.67.222.222", nil];
- [self startTest:@"/usr/bin/nslookup" withArgs:args];
+ args = [NSArray arrayWithObjects: @"debug.opendns.com.", @"txt", nil];
+ [self startTest:@"/usr/bin/dig" withArgs:args];
+
args = [NSArray arrayWithObjects: @"-class=chaos", @"-type=txt", @"hostname.bind.", @"4.2.2.1", nil];
[self startTest:@"/usr/bin/nslookup" withArgs:args];
@@ -220,9 +220,6 @@ - (void)startTests {
args = [NSArray arrayWithObjects: @"@udns1.ultradns.net", @"whoami.ultradns.net", nil];
[self startTest:@"/usr/bin/dig" withArgs:args];
- args = [NSArray arrayWithObjects: @"@208.67.222.222", @"debug.opendns.com.", @"txt", nil];
- [self startTest:@"/usr/bin/dig" withArgs:args];
-
[self startPing:@"208.67.219.99" comment:@"(www.opendns.com)"];
[self startPing:@"208.67.219.1" comment:@"(palo alto router)"];
[self startPing:@"208.67.216.1" comment:@"(seattle router)"];
Please sign in to comment.
Something went wrong with that request. Please try again.