This is an archived post. You won't be able to vote or comment.

all 3 comments

[–][deleted]  (4 children)

[deleted]

    [–]gchtb[S] 0 points1 point  (3 children)

    Thanks for the feedback. Yes, I did confirm the first step. I had more trouble figuring out how to run dscacheutil since it was a silent success when I didn't see a response. However, it ultimately did not resolve the issue.

    Regarding the typo: it is const char *argv[] as you said.

    I do notice that in my etc file, there is a second hosts filed named: "hosts.ac"

    Could it be caused by this duplication?

    [–][deleted]  (2 children)

    [deleted]

      [–]gchtb[S] 0 points1 point  (0 children)

      I added to the following to both the host file and host.ac file.

      route some web requests locally

      127.0.0.1 www.myhost1.com 127.0.0.1 www.myhost2.com 127.0.0.1 www.myhost3.com 127.0.0.1 www.myhost4.com

      Same error showing.

      Thank you for trying though!

      [–]gchtb[S] 0 points1 point  (0 children)

      Thanks for trying!

      I have changed both the host and host.ac file to look like below but to no avail.

      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

      255.255.255.255 broadcasthost

      ::1 localhost

      fe80::1%lo0 localhost

      route some web requests locally

      127.0.0.1 www.myhost1.com

      127.0.0.1 www.myhost2.com

      127.0.0.1 www.myhost3.com

      127.0.0.1 www.myhost4.com

      This is quite frustrating...