[PR #912] [MERGED] Exclude second last IP from allocation to use it in the Fake DNS #14508

Closed
opened 2026-08-05 03:05:46 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/912
Author: @gigovich
Created: 5/30/2023
Status: Merged
Merged: 5/30/2023
Merged by: @gigovich

Base: mainHead: feat-exlude-ip


📝 Commits (1)

  • ff74424 Exclude second last IP from allocation to use it in the Fake DNS

📊 Changes

2 files changed (+20 additions, -7 deletions)

View changed files

📝 management/server/network.go (+4 -3)
📝 management/server/network_test.go (+16 -4)

📄 Description

Describe your changes

Exclude the second last IP from allocation to use it in the Fake DNS

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/912 **Author:** [@gigovich](https://github.com/gigovich) **Created:** 5/30/2023 **Status:** ✅ Merged **Merged:** 5/30/2023 **Merged by:** [@gigovich](https://github.com/gigovich) **Base:** `main` ← **Head:** `feat-exlude-ip` --- ### 📝 Commits (1) - [`ff74424`](https://github.com/netbirdio/netbird/commit/ff744245f91cde7e99357958f9df130e2b4456f0) Exclude second last IP from allocation to use it in the Fake DNS ### 📊 Changes **2 files changed** (+20 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `management/server/network.go` (+4 -3) 📝 `management/server/network_test.go` (+16 -4) </details> ### 📄 Description ## Describe your changes Exclude the second last IP from allocation to use it in the Fake DNS ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [x] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 03:05:46 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#14508