can a domain name config point to a vlan tag at the host

Arthur Chance freebsd at
Sat Aug 15 13:39:40 UTC 2020

On 15/08/2020 14:29, Ernie Luzar wrote:
> I set up vlan for the host interface cabled to the public internet.
> How do I drive internet traffic to the desired vlan name on the host
> using a registered domain name?
> My rc.conf has this
> ifconfig_re0="DHCP"
> gateway_enable="YES"
> vlans_re0="1 2 3"
> # vlan_1  is for the host
> # vlan_2  is for vnet jailA
> # vlan_3  is for vnet jailB
> Final goal is to drive traffic from the public internet using a fqdn to
> the vnet jailA.

I strongly suggest you read up more about networking because it's
obvious you don't really understand it. All network traffic goes to *IP
addresses* not domains. DNS says what addresses to use for a specific
domain, but *all* connection attempts, whatever the protocol, are to a
specific numeric IP address. Yes, protocols like HTTP then accept a host
specification for further "routing" but that happens *after* the initial
connection is made.

If you want to run N jails with N different domains, all with their own
traffic to arbitrary ports, you are going to need at least N different
IP addresses.

The number of people predicting the demise of Moore's Law doubles
every 18 months.

More information about the freebsd-questions mailing list