[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Iptables vhost



Hi,

Is it posebole with iptables to filter on a DNS name not a ip address?

What i have is an x hosts / domain names and 1 ipadres.

Lets take an example.

Host              IP address
Host.example1.com 192.168.1.2
Host.example2.com 192.168.1.2

And what i want to do is a packet that is for DNS name Host.example1.com is to 
go to rule 1 and Host.example2.com is to go to rule 2.

I hope it's clear becource my english is not that good.

Greets,

Master_PE



Reply to: