Gre Tunnel hostname

I’ve seen Gre Tunnel config accepts hostnames in “remote address” field other than ip address
Does it mean it works also this way ?? (6.34.3)

I quickly checked and it should work just fine.