I hereby claim:
- I am loweryaustin on github.
- I am loweryaustin (https://keybase.io/loweryaustin) on keybase.
- I have a public key ASC_1S0PtqoSA7lpGkYoEUlBxeUmqSKuY2NZ6aFl7p6FCgo
To claim this, I am signing this object:
| #!/bin/bash | |
| ###### | |
| # | |
| # The MIT License (MIT) | |
| # | |
| # Copyright (c) 2021 Austin Lowery | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy of | |
| # this software and associated documentation files (the "Software"), to deal in |
| #!/bin/sh | |
| ### The MIT License (MIT) | |
| ### Copyright © 2021 Austin Lowery | |
| ### | |
| ### Permission is hereby granted, free of charge, to any person obtaining a copy | |
| ### of this software and associated documentation files (the “Software”), to deal | |
| ### in the Software without restriction, including without limitation the rights | |
| ### to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| ### copies of the Software, and to permit persons to whom the Software is furnished |
I hereby claim:
To claim this, I am signing this object:
| ## The following one line commands are **NOT** created by or suported by cPanel. | |
| ## If you are unsure about how to use these commands, please reach out to a systems administrator to learn how to use them. | |
| ## Check the A records of every domain on a cPanel server. This one liner will query both Cloudlfare and Google DNS resolvers and provide the A record for each domain. | |
| for i in $(cut -d : -f 1 /etc/trueuserdomains ) ; do echo ${i}; printf "8.8.8.8 -> A -> "; paste <(dig @8.8.8.8 ${i} A +short) ;echo;printf "1.1.1.1 -> A -> ";paste <(dig @1.1.1.1 ${i} A +short); echo '==========';echo ; done | |
| ## I'll try add other one liners later as time allows. |