Bind9 dhcpd update




















Next, map out how you want your network laid out. An example is below, and will show what is needed vs optional:. Total Network Range : Now we will start with DHCP.

Paste the following block into this blank file, then save it:. A quick reference as to why the reverse zone is in-addr. A bad DHCPd configuration will prevent the service from starting. You can check it anytime by running dhcpd -t. The BIND configuration files are split up into many different, smaller files. Here's an example key statement:. Finally, add zone statements telling the DHCP server the domain names of the zones it will update, and for each of these, the address of the name server to send updates to and the TSIG key to sign those updates with.

For example:. In this case, the DHCP server and the primary master name server for foo. All the DHCP server should update in foo. In the 0. These zone statements enforce those restrictions:. The 3. However this fails as I don't have bind running on a standard port, I have unbound running on port 53 so I get the error.

What I would like to do is get dhcpd to be able to talk to my bind server on the non standard port. I am updating on the same machine so I'm not using zone files, but I know the updates can work if on the correct port because of testing with nsupdate.

It is possible you could fine-grain it even further by only rewriting outbound packets from processes owned by the particular user running your dhcpd process. This is apparently possible using the iptables --uid-owner directive. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Asked 8 years, 2 months ago.

Viewed 10k times. Does anyone have any info on this? Improve this question. Ace Ace 6 6 silver badges 10 10 bronze badges. Add a comment. Active Oldest Votes.

In the BIND configuration file typically named. Improve this answer. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name.



0コメント

  • 1000 / 1000