Thank you 1/ host command can return right ip address 2/ why /etc/host in the hosts relates to the outside equiry? I am using outside server to check this domain The mydomain can return right ip address But I am curious why the 2nd line is 171203020173.upstream.com instead of mydomain.com ? It should be. right? 64 bytes from www.mydomain.com (171.203.20.173): icmp_seq=1 ttl=43 time=291 ms Thank you --- "Mikkel L. Ellertson" <mikkel@xxxxxxxxxxxxxxxx> wrote: > adrian kok wrote: > > Hi all > > > > I am trying to ping my domain > > the 1st reply is ok and solve the ip address > > > > but 2nd line to end, it replys my upstream info > > instead of www.mydomain.com > > > > Why? > > > What does "host www.mydomain.com" give you for an IP > address? It > sounds like your name server returns 171.203.20.173 > for the IP > address, so that is what ping uses. > > Depending on your setup, that may be the proper > response. > > Is the domain name you are using a real domain name? > > Are you running a local name server? > > Is www.mydomain.com listed in your /etc/hosts file? > > Mikkel > -- > > Do not meddle in the affairs of dragons, > for thou art crunchy and taste good with Ketchup! > > > -- > fedora-list mailing list > fedora-list@xxxxxxxxxx > To unsubscribe: > https://www.redhat.com/mailman/listinfo/fedora-list > Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines Send instant messages to your online friends http://uk.messenger.yahoo.com -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines