dig works, ping doesn't


not sure post question... have dns name resolution problem os x , it's driving me nuts. i'm trying ping host on local network using dns host name, not ip address. ping ip address work however. also, not want add name hosts file. defeats purpose of dhcp (the d means dynamic)...

lookupd configuration looks correct, dig , nslookup operate ping not. name of local host i'm trying ping 'files'.

here relevant terminal session (if there's better place put this, please let me know):

mymachine:~ cliff$ lookupd -configuration

configsource: file://etc/lookupd
lookuporder: cache ni ds
maxidleservers: 4
maxidlethreads: 2
maxthreads: 64
timetolive: 43200
timeout: 30
validatecache: yes
validationlatency: 15
_config_name: global configuration

lookuporder: cache ff dns ni ds
_config_name: host configuration

lookuporder: cache ff ni ds
_config_name: service configuration

lookuporder: cache ff ni ds
_config_name: protocol configuration

lookuporder: cache ff ni ds
_config_name: rpc configuration

timetolive: 60
validatecache: no
_config_name: group configuration

timetolive: 300
validatecache: no
_config_name: initgroup configuration

lookuporder: cache ff dns ni ds
_config_name: network configuration

mymachine:~ cliff$ ping files
ping: cannot resolve files: unknown host
mymachine:~ cliff$ ping files.local
ping: cannot resolve files.local: unknown host
mymachine:~ cliff$ ping files.localdomain
ping: cannot resolve files.localdomain: unknown host
mymachine:~ cliff$
mymachine:~ cliff$ dig files

; <<>> dig 9.3.4 <<>> files
;; global options: printcmd
;; got answer:
;; ->>header<<- opcode: query, status: noerror, id: 16769
;; flags: qr rd ra; query: 1, answer: 1, authority: 0, additional: 0

;; question section:
;files. in a

;; answer section:
files. 0 in 192.168.10.40

;; query time: 2 msec
;; server: 192.168.10.1#53(192.168.10.1)
;; when: mon aug 6 11:31:23 2007
;; msg size rcvd: 39

mymachine:~ cliff$ nslookup
> files
server: 192.168.10.1
address: 192.168.10.1#53

non-authoritative answer:
name: files
address: 192.168.10.40
> exit

ideas? i've tried creating lookuporder entries every possible lookupd setting in /etc/lookupd no avail.

extraordinarily frustrating , given darwin roots of osx should very easy...

cliff.
 

i not proficient in networking, believe need define server in .rhosts file or somewhere computer ask ip address of "named" host.

ip address in "nslookup" looks base station, may not suitable function. base stations distribute ip addresses, not keep "this name" "this ip address" type of list. more "i'll assign ip address mac address".
 


Forums Macs macOS macOS


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments

Popular posts from this blog

New iMac here - LOVING the Mighty Mouse

Mini-DVI to DVI-I?

How to best wire an entire house mac...(I want a touch screen in my bathroom)