Give localhost access to all ISC-BIND “views”

I have linux router for local network. It has DHCPd and BIND. There is multiple interfaces (VLANs: Lan, Server, Switch, etc). Each interfaces has own DNS “view” based on “match-clients”. So machine from “Lan” interface can’t resolve switch1.switch. When DHCPd tries to update DNS it uses appropriate external IP to get into right DNS “view”.…

Details

Making custom Kernel configuration changes with debian-installer in QEMU

I am installing Debian10 (armhf) on a virtual machine in QEMU, like this: Download this netboot/initrd.gz Download this netboot/vmlinuz Create an empty disk image with: qemu-img create -f qcow2 hda.qcow2 8G Run the debian-installer in QEMU with: qemu-system-arm -M virt -m 1024 -kernel vmlinuz -initrd initrd.gz -drive if=none,file=hda.qcow2,format=qcow2,id=hd -device virtio-blk-device,drive=hd -netdev user,id=mynet -device virtio-net-device,netdev=mynet -nographic…

Details

Correct way for Mock my ActionContext in my unit test

I have trouble for mocking my ActionContext for my unit test. Actually, I have mock my ActionContext in this way : testUtilities.ts import { ActionContext, Dispatch, Commit } from ‘vuex’; import { IRootState } from ‘./../src/store/store’; import { expect } from ‘chai’; import { DispatchAccessorNoPayload } from ‘vuex-typescript’; export interface ContextTest { state: any; rootState:…

Details