Problem with multiple interfaces
Mark_Andrews at iengines.com
Mark_Andrews at iengines.com
Sun Nov 21 08:42:00 UTC 1999
> Rainer Ginsberg <Rainer.Ginsberg at de.bosch.com> skrev i
> news:8E807BAE7rainerginsberg at 140.2.19.5
>
> | In named.conf, I specify
> | options {
> | listen-on { 195.254.27.2; 192.168.1.1; 192.168.1.65;
> 192.168.1.129; };
> | };
> | But when starting named, I get the following messages.
> | named[4902]: bind(dfd=22, [192.168.1.1].53): Invalid argument
>
> By simply looking up in the html documentation, I derive that listen-on
> pertains to _ports_. The same naming convention is used in, for example,
> Apache's httpd.conf.
listen-on applies to *both* ports and addresses. The syntax
above is perfectly valid. It is saying of all the interfaces
connected to the machine only attempt to bind to those which
match this list.
As for why the bind has failed one needs to know which OS
is involed as various OS's return non-standard error codes
under certain conditions. man bind(2) for what conditions
result in EINVAL.
Mark
>
> What you probably want, is: ip_addr.
>
> Tony
>
> Bill Gates never had anything like 'man'
>
>
>
>
--
Mark Andrews, Internet Engines Inc. / Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at iengines.com
More information about the bind-users
mailing list