Skip to content

Instantly share code, notes, and snippets.

Array
(
[header] => Array
(
[version] => 0.9
)
[body] => Array
(
[data_block] => Array
Input :
Array
(
[0] =>
[1] => ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6_8.4 <<>> ns google.com @c.gtld-servers.net. +noall +auth
[2] => ;; global options: +cmd
[3] => google.com. 172800 IN NS ns1.google.com.
[4] => google.com. 172800 IN NS ns2.google.com.
[5] => google.com. 172800 IN NS ns3.google.com.
[6] => google.com. 172800 IN NS ns4.google.com.
Array
(
[0] =>
[1] => ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6_8.4 <<>> ns google.com @c.gtld-servers.net. +noall +auth
[2] => ;; global options: +cmd
[3] => google.com. 172800 IN NS ns1.google.com.
[4] => google.com. 172800 IN NS ns2.google.com.
[5] => google.com. 172800 IN NS ns3.google.com.
[6] => google.com. 172800 IN NS ns4.google.com.
)
zone "10.in-addr.arpa" {
type forward;
forwarders { 10.10.10.10; };
};
<form action = 'https://example.com/bulkdns' method = 'post'>
<textarea name = 'details' rows = '20' cols = '75'></textarea></br>
<input type = 'submit' name = 'Submit' value = 'Submit' >
</form>
@mnathani
mnathani / gist:6f7e9ab83835e5ac75b116950b7b019b
Created June 3, 2017 21:00
Source code of post page with some imput
Input was
google.com
hotmail.com
microsoft.com
facebook.com
--------------------------
["details"]=>
string(52) "google.com
<?php
var_dump($_POST);
if (isset($_POST['details']))
{
$details = $_POST['details'];
// $details = "google.com\nhotmail.com";
//echo $details; // checking to see what is in textarea
Input Form:
<form action = 'bulkdns' method = 'post'>
<textarea name = 'details' rows = '20' cols = '75'></textarea></br>
<input type = 'submit' name = 'Submit' value = 'Submit' >
</form>
Form action:
Cause: Error: [$rootScope:inprog] http://errors.angularjs.org/1.3.2/$rootScope/inprog?p0=%24digest
Version: 1.8.0
Build: 4516221
ESXi: 6.5.0
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3018.0 Safari/537.36
Exception stack:
Error: [$rootScope:inprog] http://errors.angularjs.org/1.3.2/$rootScope/inprog?p0=%24digest
at https://example.com/ui/scripts/main.js:263:20611
My traceroute [v0.86+git:592de82d]
compaq.winvive.com (0.0.0.0) Thu Feb 23 20:07:39 2017
Keys: Help Display mode Restart statistics Order of fields quit
Packets Pings
Host Loss% Snt Last Avg Best Wrst StDev
1. 192.168.2.1 0.0% 21 0.8 0.4 0.2 2.7 0.5
2. 10.11.2.249 0.0% 21 1.5 9.0 1.5 42.5 10.6
3. 10.178.206.66 4.8% 21 1.9 1.8 1.3 2.8 0.2
4. 10.178.206.67 0.0% 21 2.0 2.2 1.2 11.0 2.0
5. tcore4-toronto63_2-4-0-1.net.bell.ca 0.0% 21 27.4 24.9 20.0 27.9 2.1