Influxdb2.0 weird behaver -- dns lookup

I ran influxdb2.0 (influxdb_2.0.0-beta.2) as a service as bellow:
++++++++++++++++++
[Unit]
Description=InfluxDB 2.0 service file.
Documentation=https://v2.docs.influxdata.com/v2.0/get-started/
After=network-online.target

[Service]
User=root
Group=root
ExecStart=/usr/local/bin/influxd
Restart=on-failure

[Install]
WantedBy=multi-user.target
++++++++++++++++++++++

Then run it with : systemctl start influxdb2.service
Then I saw a lot of logs like bellow:

Feb 08 15:38:11 alcl influxd[4351]: ts=2020-02-08T07:38:11.296231Z lvl=error msg=“Unable to gather” log_id=0KpvGtel000 error=“Get http://alcl:9999/metrics: dial tcp: lookup alcl on 100.100.2.136:53: no such ho
st”
Feb 08 15:38:21 alcl influxd[4351]: ts=2020-02-08T07:38:21.296663Z lvl=error msg=“Unable to gather” log_id=0KpvGtel000 error=“Get http://alcl:9999/metrics: dial tcp: lookup alcl on 100.100.2.136:53: no such ho
st”

What happen here, it does name resolution on 100.100.2.136 on port 53?
BTW , seems root is a bad user to run influxdb , any suggestion ?

Hi @alex.lu,

Thank you for your question.

It looks like you’ve configured a scraper to fetch alcl:9999 and your DNS server cannot resolve this.

The port number suggests that you’re maybe trying to scrape internal metrics; which should use 127.0.0.1:9999

It could be that this is a bug or it could be that you added alcl:9999.

If you let us know which, we can help to fix :+1:

It works well, thank you!