Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. Re: Not sending DNS information to selected clients.
      (Darren Ankney)
   2. Re: Not sending DNS information to selected clients. (SMF Forum 1)


----------------------------------------------------------------------

Message: 1
Date: Sat, 5 Aug 2023 09:28:38 -0400
From: Darren Ankney <darren.ank...@gmail.com>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: Not sending DNS information to selected clients.
Message-ID:
        <cakabwhjzlxj4n48pkysq+tvt_j2bssxf3wrebindm-dqmth...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Hi,

When they say "turn off dns" are you sure they aren't talking about
mdns?  A local network printer is likely registering itself in mdns
and that is why it is showing up.  I'm not sure how you would "turn
off dns" for a device other than preventing it from resolving by not
supplying dns servers. You'd have to make a class for the printer and
maybe a class for every other device. One class gets the dns servers,
the one with the printer does not The DNS servers can be set directly
in the class for everyone else and not globally.

Thank you,

Darren Ankney

On Fri, Aug 4, 2023 at 7:10?AM SMF Forum 1 <smf.for...@ntlworld.com> wrote:
>
> I have a problem with a phantom network printer in my cups printing
> environment.
> The cups people have suggested that I turn off dns for the network
> printer in question to resolve this.
> How do I correctly amend the dhcpd.conf to achieve this ie not send a
> DNS ip addess for this device and only this device.
>
> The version of dhcpd is isc-dhcpd-4.4.2-P1.
>
> The header of my dhcpd.conf file is as follows:
>
> authoritative;
> default-lease-time 43200;
> max-lease-time 86400;
> option custom-proxy-server code 252 = text;
> option custom-proxy-server "http://wpad.dat";;
>
> subnet 192.168.0.0 netmask 255.255.255.0 {
>     range 192.168.0.90 192.168.0.128;
>     option domain-name "delta";
>     option domain-name-servers 192.168.0.1;
>     option routers 192.168.0.1;
>     option ip-forwarding on;
>     option broadcast-address 192.168.0.255;
>     option subnet-mask 255.255.255.0;
>     option ntp-servers 192.168.0.1;
> }
>
> The entry for the printer currently reads as follows:
>
> host hp6020e {
>     hardware ethernet e0:70:ea:72:6f:10;
>     fixed-address hp6020e.delta;
> }
>
>
> Thanks
> --
> ISC funds the development of this software with paid support subscriptions. 
> Contact us at https://www.isc.org/contact/ for more information.
>
> dhcp-users mailing list
> dhcp-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

Message: 2
Date: Sat, 05 Aug 2023 15:14:06 +0100
From: SMF Forum 1 <smf.for...@ntlworld.com>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: Not sending DNS information to selected clients.
Message-ID:
        <4c03a73f1186a3da1bd495702a523a7e03a23124.ca...@ntlworld.com>
Content-Type: text/plain; charset="UTF-8"

On Sat, 2023-08-05 at 09:28 -0400, Darren Ankney wrote:
> Hi,
> 
> When they say "turn off dns" are you sure they aren't talking about
> mdns?? A local network printer is likely registering itself in mdns
> and that is why it is showing up.? I'm not sure how you would "turn
> off dns" for a device other than preventing it from resolving by not
> supplying dns servers. You'd have to make a class for the printer and
> maybe a class for every other device. One class gets the dns servers,
> the one with the printer does not The DNS servers can be set directly
> in the class for everyone else and not globally.
> 
> Thank you,
> 
> Darren Ankney
> 
> On Fri, Aug 4, 2023 at 7:10?AM SMF Forum 1 <smf.for...@ntlworld.com>
> wrote:
> > 
> > I have a problem with a phantom network printer in my cups printing
> > environment.
> > The cups people have suggested that I turn off dns for the network
> > printer in question to resolve this.
> > How do I correctly amend the dhcpd.conf to achieve this ie not send
> > a
> > DNS ip addess for this device and only this device.
> > 
> > The version of dhcpd is isc-dhcpd-4.4.2-P1.
> > 
> > The header of my dhcpd.conf file is as follows:
> > 
> > authoritative;
> > default-lease-time 43200;
> > max-lease-time 86400;
> > option custom-proxy-server code 252 = text;
> > option custom-proxy-server "http://wpad.dat";;
> > 
> > subnet 192.168.0.0 netmask 255.255.255.0 {
> > ??? range 192.168.0.90 192.168.0.128;
> > ??? option domain-name "delta";
> > ??? option domain-name-servers 192.168.0.1;
> > ??? option routers 192.168.0.1;
> > ??? option ip-forwarding on;
> > ??? option broadcast-address 192.168.0.255;
> > ??? option subnet-mask 255.255.255.0;
> > ??? option ntp-servers 192.168.0.1;
> > }
> > 
> > The entry for the printer currently reads as follows:
> > 
> > host hp6020e {
> > ??? hardware ethernet e0:70:ea:72:6f:10;
> > ??? fixed-address hp6020e.delta;
> > }
> > 
> > 
> > Thanks
> > --
> > ISC funds the development of this software with paid support
> > subscriptions. Contact us at https://www.isc.org/contact/?for more
> > information.
> > 
> > dhcp-users mailing list
> > dhcp-users@lists.isc.org
> > https://lists.isc.org/mailman/listinfo/dhcp-users

Darren,

Thank you for the reply I now understand what needs doing.

Stuart



------------------------------

Subject: Digest Footer

_______________________________________________
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 177, Issue 2
******************************************

Reply via email to