Just need to add,
I mean it is resolving to the guest IP of the virtual router, and not the
address that it is listening on:
root@r-418-VM:~# netstat -anpl | grep 8080
tcp 0 0 10.1.1.1:8080 0.0.0.0:* LISTEN
1610/python
root@r-418-VM:~# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP group default qlen 1000
link/ether 02:00:76:04:00:02 brd ff:ff:ff:ff:ff:ff
inet 10.1.1.154/24 brd 10.1.1.255 scope global eth0
valid_lft forever preferred_lft forever
inet 10.1.1.1/24 brd 10.1.1.255 scope global secondary eth0
valid_lft forever preferred_lft forever
root@r-418-VM:~# dig data-server. @localhost
; <<>> DiG 9.11.5-P4-5.1+deb10u3-Debian <<>> data-server. @localhost
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32161
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;data-server. IN A
;; ANSWER SECTION:
data-server. 0 IN A 10.1.1.154
;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Nov 03 11:58:43 UTC 2021
;; MSG SIZE rcvd: 56
On Wed, 3 Nov 2021 at 11:48, Edward St Pierre <[email protected]>
wrote:
> Hi Guys,
>
> Just a really quick question.
>
> Should 'data-server.' resolve to the virtual router or the guest?
>
> Basically the cloud-init datasource for Cloudstack that comes with CentOS
> Stream seems to use this as the address for the VR.
>
> Just looking to see if this is a VR bug or a bug with this module on
> CentOS.
>
> Regards
>
> Ed
>