Saya menggunakan nama host basic.localmachine.io
untuk pengembangan lokal dan menunjuk ke localhost. Untuk beberapa alasan, basic.localmachine.io
memiliki set CNAME di mesin saya ke basic.wpengine.com
. Saya tidak tahu bagaimana itu terjadi, dan saya ingin menghapusnya.
gali output untuk basic.localmachine.io
; <<>> DiG 9.8.3-P1 <<>> basic.localmachine.io
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36219
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;basic.localmachine.io. IN A
;; ANSWER SECTION:
basic.localmachine.io. 0 IN CNAME basic.wpengine.com.
basic.wpengine.com. 300 IN A 50.116.58.222
;; Query time: 403 msec
;; SERVER: xx.xxx.xxx.xx#xx(xx.xxx.xxx.xx)
;; WHEN: Tue Sep 6 13:18:34 2016
;; MSG SIZE rcvd: 78
gali output untuk localmachine.io
; <<>> DiG 9.8.3-P1 <<>> localmachine.io
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34838
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;localmachine.io. IN A
;; ANSWER SECTION:
localmachine.io. 3600 IN A 198.74.57.83
;; Query time: 759 msec
;; SERVER: xx.xxx.xxx.xx#xx(xx.xxx.xxx.xxx)
;; WHEN: Tue Sep 6 14:18:07 2016
;; MSG SIZE rcvd: 42
/ etc / hosts
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost localmachine localmachine.io basic.localmachine.com basic.localmachine.io advanced.localmachine.io basic.localmachine.io sentry.localmachine.io slanger.localmachine.io
255.255.255.255 broadcasthost
::1 localhost
Saya menggunakan Mac OS X El Capitan (10.11.3)
Apakah Anda punya akses ke zona DNS?
Ben Lavender
@ BenLavender Di mana file Zona DNS berada?
Jiyda Moussa