https://github.com/jftuga/nextfreeip
Find the next IP address that is not listed in DNS when given a CIDR address
https://github.com/jftuga/nextfreeip
command-line dns golang
Last synced: 8 months ago
JSON representation
Find the next IP address that is not listed in DNS when given a CIDR address
- Host: GitHub
- URL: https://github.com/jftuga/nextfreeip
- Owner: jftuga
- License: mit
- Created: 2021-03-08T19:13:56.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-03T21:09:06.000Z (about 5 years ago)
- Last Synced: 2025-08-21T12:41:16.519Z (10 months ago)
- Topics: command-line, dns, golang
- Language: Go
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nextfreeip
Find the next IP address that is not listed in DNS when given a CIDR address
## Usage
```shell
C:\> nextfreeip 192.168.1.0/26
192.168.1.0 SKIPPED - Network Boundary
192.168.1.1 device1.example.com.
192.168.1.2 device2.example.com.
192.168.1.3 device3.example.com.
192.168.1.4 device4.example.com.
192.168.1.5 device5.example.com.
192.168.1.6 is not in DNS
```
## Notes
* The program stops checking after `x.y.z.255` because it assumes a `/24` netmask when unspecified.
## Download
* Binaries for Windows, macOS and Linux can be found on the [releases](https://github.com/jftuga/nextfreeip/releases) page.