Thomas Hardy’s (Dorset) version of keggas.
One of his cyder drinking rustics says he is “dry as a kex”., likening his parched throat to a dried out dead stem of e.g cow parsley or hemlock or other carrotty umbellifer.
[M.R.]
Etymology
Dorset dialect.