Configure dns names in place of IP

i have small doubt regarding configurations in config,json.
can we put DNS names in place of ip address in
“bind_addr” and “retry_join” fields?
“node_name”: “user@client1”,
“bind_addr”: "",
“data_dir”: “…/data”,
“server”: true,
“ports”: {
“server”: 8300,
“serf_lan”: 8301,

in bind address above can i configure host name ?
or it strictly has to be an IP address?
i am using consul 1.6

No, for bind_addr you must use an IP address, not a hostname. For retry_join , you can use hostnames or DNS names.