Last active 5 hours ago
0
0
1
| 1 | #!/bin/bash |
| 2 | |
| 3 | #Validation Function: |
| 4 | #- Uses a regular expression to check if the domain name format is valid. |
| 5 | |
| 6 | #Domain Pointing Check: |
| 7 | #- Uses the dig command to resolve the domain to an IP address. |
| 8 | #- Checks if the resolved IP address matches the server's IP address. |
| 9 | |
| 10 | #Input and Validation: |