0

MacOS Version: 10.14.5

Chrome Version: 75.0.3770.100

I have entered an entry in my /etc/hosts like below

##
# Custom hosts
##
127.0.0.1       jupyter.dev
::1             jupyter.dev

My traceroute and ping points to correct IP address.

traceroute to jupyter.dev (127.0.0.1), 64 hops max, 52 byte packets
 1  localhost (127.0.0.1)  0.229 ms  0.045 ms  0.032 ms

Even dscacheutil query points it in right direction.

abhishek:~$ dscacheutil -q host -a name jupyter.dev
name: jupyter.dev
ipv6_address: ::1

name: jupyter.dev
ip_address: 127.0.0.1

I am able to open jupyter.dev using Safari though. But, I am not able to open it in my Chrome or Firefox. Also, dig output:

abhishek:~$ dig jupyter.dev

; <<>> DiG 9.10.6 <<>> jupyter.dev
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14043
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;jupyter.dev.           IN  A

;; AUTHORITY SECTION:
jupyter.dev.        299 IN  SOA ns-cloud-d1.googledomains.com. cloud-dns-hostmaster.google.com. 1 21600 3600 259200 300

;; Query time: 118 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Thu Jun 27 18:16:04 IST 2019
;; MSG SIZE  rcvd: 133

host outputs blank string. Any help?

You must log in to answer this question.

Browse other questions tagged .