Advanced Search
Search Results
535 total results found
Dump A DNS Zone
Problem You want to know what the current content of a DNS zone is. Possible Solution This will work if your DNS server is friendly: $ dig -t AXFR @$SERVER $ZONE A reader pointed out an error I made, and adds… The @ is important because it tells dig which dn...
SOA values
(2019-09-11) I've only been doing this for 25 years, I guess it's high time I learned what it all means [root@n2 log]# dig +short soa xdroop.com n1.gridway.net. info.gridway.net. 2019050703 86400 3600 604800 7200 The numeric values are: SOA Value Name Desc...
dnstop
dnstop is a tool for monitoring dns requests on a particular network. It is a libcap snooper, so all the snoop rules apply. Get it here: http://dnstop.measurement- factory.com
Trace DNS Lookups
Interesting: [dave@store01 ~]$ dig +trace xdroop.com ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5_8.1 <<>> +trace xdroop.com ;; global options: printcmd . 3600 IN NS g.root-servers.net. . 3600 IN ...
Power Save
This also applies to situations with eXceed 8 where the screen saver engages, but never goes into powersave mode. DISCUSSION: Customer says that when running Exceed 7, his Windows screen saver no longer engages. This did not happen with earlier versions of Exc...
Create A New lvm Partition
If you need to put more physical disk into the physical volume, do that: # vgextend fedora /dev/sdb1 Create the new logical volume: # lvcreate -n owncloud -l 100%FREE fedora (Examples bodged from here)
cron
(2020-02-25) Problem The module command doesn't work in cron jobs. Solution You have to source the module init script before the aliases can be used. eg: #!/bin/bash . /etc/profile.d/modules.sh [...]
KVM Bridge Interface
(2020-02-11) Creating A Bridge Interface for KVM VMs # nmcli connection add type bridge autoconnect yes con-name br0 ifname br0 # nmcli connection modify br0 ipv4.addresses 10.255.0.5/24 ipv4.method manual ipv4.gateway 10.255.0.1 # nmcli connection modify br0 ...
KVM, briefly
(2020-03-13) KVM Briefly # virsh list # virsh list --all # virsh start <name> # virsh dominfo <name> # virsh shutdown <name> # virsh destroy <name> $ virsh undefine <name> (Source)
KVM Installation
(2020-02-11) Installing KVM (These instructions assume the FC 31 environment.) # dnf -y install bridge-utils libvirt virt-install qemu-kvm # dnf -y install virt-top libguestfs-tools # systemctl start libvirtd # systemctl enable libvirtd You'll want to create ...
KVM: virt-install
(2020-03-14) Installing a VM This example creates a 1c, 2GB VM with a 20GB disk, booting a kernel off of my local cobbler server director. # virt-install --name test1 \ --ram 2048 \ --vcpus 1 \ --disk path=/export/vm/test1/test1a.img,size=20 \ --os-var...
snmpd crash in "Check_HR_FileSys_AutoFs"
(2020-04-21) Problem /t Solution # dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-7303a69282 This issue will probably go away fairly quickly once the advisory hits the update repo.
Add IP Information To issue File
Script: #!/bin/bash IP=${1:-`hostname -I`} # Add "IP ADDRESS" line if not already found grep "IP ADDRESS" /etc/issue > /dev/null if [ "$?" -ne "0" ]; then echo >> /etc/issue echo "IP ADDRESS" >> /etc/issue fi sed -i s/"IP ADDRESS.*"/"IP ADDRESS : $IP"/g /e...
Samba Winbind with AD on Fedora 33
(2022-03-29) See: https://www.server-world.info/en/note?os=Fedora_33&p=samba&f=4
Fedora Upgrade Procedure
(2022-02-08) Problem I want to upgrade from Fedora 34 to Fedora 35. Solution dnf -y --refresh upgrade dnf -y install dnf-plugin-system-upgrade dnf -y system-upgrade download --refresh --releasever=35 dnf -y system-upgrade reboot rpm --rebuilddb dnf -y distro-...
Permanent Static Routing
(2021-06-15) Problem How do we set a static route entry to take effect at boot time without custom script fuckery like rc.local? Solution For routes with an actual destination, you add them using Network Manager's nmcli : # nmcli con mod eth0 ipv4.routes "10.0...
SSH Pubkey doesn't work
(2021-05-26) Problem userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms [preauth] Solution The Fedora-preferred solution is for you to start using one of the new, fancier key types and then go around upgrading all your old SSH servers that can'...
Test TLS version
(2021-10-06) Problem Does this device support TLS v1.0 (or 1.1 or 1.2 or 1.3) Solution $ openssl s_client -connect system:port -tls1 $ openssl s_client -connect system:port -tls1_1 $ openssl s_client -connect system:port -tls1_2 $ openssl s_client -connect sys...