Find Jobs
Hire Freelancers

Create .BAT File that removes list or "A" records or "PTR" records for multiple DNS server

$10-30 USD

Ακυρώθηκε
Αναρτήθηκε περίπου 8 χρόνια πριν

$10-30 USD

Πληρωμή κατά την παράδοση
I need a PowerShell script created.. Fast!! I'm fixing an issue for a client right now and few things are broken until I remove these records. I have a list of 200 PTR entries. NOTE: This should be a simple process for someone that has the skills and should not take much time. REM ======== Batch File Beginning =========== @echo on set cachedentry=123.1.168.192.in-addr.arpa. del [login to view URL] for /f %%i in ([login to view URL]) do (dnscmd %%i /recorddelete /cache %cachedentry% PTR /f) >> [login to view URL] REM ====== Batch File Ending ============== I need this batch file modified to accept multiple records like "123.1.168.192.in-addr.arpa." They will be many records but one per line. So for each record the way it is hard coded will only delete one record. Then there is the "[login to view URL]" that has 20 or so IP's for the DNS servers to delete the record from. So I need an input file called "[login to view URL]" that will contain multiple PTR records that will need to be delete from each of the 20 servers. In the end I should have two input files. One for the DNS server IP's and another input file for the record to be deleted. Example ([login to view URL]) [login to view URL] [login to view URL] Example ([login to view URL]) 101.1.168.192.in-addr.arpa. 102.1.168.192.in-addr.arpa. So in this example it should go to the PTR txt file and delete the first entry from all the DNS servers in that complete list. The it needs to move on to the second PTR record, etc, etc... So only one PTR is being deleted from all list of DNS servers. This can be done in powershell or *.bat file. I would prefer Powershell.. Then just have it run the "dnscmd" command. We can set a variable for "cachedEntry = Get-Content to make the process work.
Ταυτότητα εργασίας: 10099028

Σχετικά με την εργασία

1 proposal
Απομακρυσμένη Εργασία
Ενεργός/ή 8 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν

Σχετικά με τον πελάτη

Σημαία της UNITED STATES
Houston, United States
5,0
21
Επαληθευμένη μέθοδος πληρωμής
Μέλος από Οκτ 13, 2008

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.