1. dns bash
1 2 3 4 |
#!/bin/bash for name in $(cat dns.txt);do host $name.b14esh.com | grep "has address" | cut -d" " -f4 done |
2. dns bash
1 2 3 4 |
#!/bin/bash for name in $(cat dns.txt);do host $name.b14esh.com | grep "has address" done |
3. dns bash
1 2 3 4 |
#!/bin/bash for name in $(cat dns.txt);do host $name.b14esh.com done |
4. dns.txt
1 2 3 |
mail test www |