Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 182411

Suitable use of this tag is for all processes and protocols for doing name to address translation locally on Apple products as well as in general relating to his DNS works.

1 vote
2 answers
2k views

ping $(hostname) has request timeout but nslookup $(hostname) works

The contents of my /etc/resolv.conf is the following: # # macOS Notice # # This file is not consulted for DNS hostname resolution, address # resolution, or the DNS query routing mechanism used by most … # processes on this system. # # To view the DNS configuration used by this system, use: # scutil --dns # # SEE ALSO # dns-sd(1), scutil(8) # # This file is automatically generated. # search noodleofdeath.com …
rollingcodes's user avatar
0 votes
Accepted

ping $(hostname) has request timeout but nslookup $(hostname) works

The issue appears to have been firewall related as mentioned in Allan's answer. After some digging, I was able to add the ping command as a trusted program by running the following command: sudo /usr/ …
rollingcodes's user avatar