On my wifes side (Allan) we have a David Allan b 14 June 1877 in Blackhouse, Bunkle, Preston, Berwickshire. One of 8 children, his parents were William Allan and Margaret Nairn married 20 January 1860 in Chirnside.
Williams parents were Thomas Allan and Mary Dodds (b abt 1814). I know nothing more but the location is in the right area. Do you have any connecting information??