adrian kok wrote:
Sorry. I use fake name
No, you didn't. www.mydomain.com does exist, so it cannot be fake.
host command can return right ip address
I don't really like people who misuse existing domains for questions like this, as it really makes it harder to debug things.
My question is
I am curious why the 2nd line is
171203020173.upstream.com instead of www.mydomain.com
Because you don't have a correct reverse DNS setting for your domain. But as you don't say what it is, I won't look further.
Ralph