mirror of
https://github.com/sstent/Scripts.git
synced 2026-01-26 15:12:27 +00:00
added scripts and SUPERMICRO
This commit is contained in:
6
bulkDNSadd.bat
Normal file
6
bulkDNSadd.bat
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
REM EXPECTS newhosts to contain <hostname><tab><ip.add.re.ss>
|
||||
for /f "tokens=1,2,3,4,5,6 delims= ." %%1 in (newhosts.txt) do (
|
||||
dnscmd 10.0.79.11 /RecordAdd barnesandnoble.com %%1 A %%2.%%3.%%4.%%5
|
||||
dnscmd 10.0.79.11 /recordadd %%2.in-addr.arpa. %%5.%%4.%%3 PTR %%1.barnesandnoble.com.
|
||||
)
|
||||
Reference in New Issue
Block a user