On Friday 26,February,2010 01:14 PM, Justin The Cynical wrote:
> Can Burak Cilingir wrote:
>
>> * [lan ip 155] assigned statically (eth1)
>> * [lip 156] assigned statically (eth1:1)
>> * [lip 157] assigned statically (eth1:2)
>> * (eth0 is down)
>
> *snip*
>
>> The problem
>>
>> when I try to resolve a domain name from outside with
>>
>> host www.mydomain.com [wip156]
>>
>> I cannot get an answer, but,
>>
>> host www.mydomain.com [wip155]
>>
>> is working.
>
> *snip troubleshooting steps*
>
> Does resolution work from inside the LAN? It sounds like pdns doesn't
> like the names given to the virtual interfaces (eth1:$FOO).
if there is no pfsense involved, it works. As i do not have any other
machine in the lan, i just can test by qurying the lips from the machine
itself:
/sbin/ifconfig | grep Mask
inet addr:172.17.1.155 Bcast:172.17.255.255 Mask:255.255.0.0
inet addr:172.17.1.156 Bcast:172.17.255.255 Mask:255.255.0.0
inet addr:172.17.1.157 Bcast:172.17.255.255 Mask:255.255.0.0
inet addr:127.0.0.1 Mask:255.0.0.0
netstat -tulnp | grep :53
tcp 0 0 0.0.0.0:53 0.0.0.0:*
LISTEN 13142/pdns_server-i
udp 0 0 0.0.0.0:53
0.0.0.0:* 13142/pdns_server-i
host localhost 172.17.1.155
Using domain server:
Name: 172.17.1.155
Address: 172.17.1.155#53
Aliases:
localhost.x has address 127.0.0.1
one:~# host localhost 172.17.1.156
Using domain server:
Name: 172.17.1.156
Address: 172.17.1.156#53
Aliases:
localhost.x has address 127.0.0.1
one:~# host localhost 172.17.1.157
Using domain server:
Name: 172.17.1.157
Address: 172.17.1.157#53
Aliases:
localhost.x has address 127.0.0.1
> pdns responds on 155 (eth1), but not 156 (eth1:1), traffic passes on
> the port = pfsense is passing traffic, but pdns does not like the
> aliased interface names and will only bind to 'standard' interface names.
>
> (Quick google returns this, might help you:
> http://mailman.powerdns.com/pipermail/pdns-users/2006-December/004053.html)
>
>
> At least that's my take.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
> Commercial support available - https://portal.pfsense.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Commercial support available - https://portal.pfsense.org